[gdal-dev] Re: GDAL Error 1: TIFFFetchDirectory:Sanity check on directory count failed . . .

2011-01-29 Thread Neil Best
Thank you, Even. I think that did it. Instead of passing around raster() objects I need to pass the file names and re-instantiate the objects on the workers within the foreach closure. Are you on Stackoverflow? If not, please consider signing up. I think it's a great concept and I would like

[gdal-dev] Re: GDAL Error 1: TIFFFetchDirectory:Sanity check on directory count failed . . .

2011-01-29 Thread Neil Best
Thanks, Even. That makes sense. If I understand your suggestion I can create a trivial VRT pointing to the input data for each worker, correct? -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/GDAL-Error-1-TIFFFetchDirectory-Sanity-check-on-directory-count-failed-tp59727

[gdal-dev] GDAL Error 1: TIFFFetchDirectory:Sanity check on directory count failed . . .

2011-01-29 Thread Neil Best
How should I interpret this error? GDAL Error 1: TIFFFetchDirectory:Sanity check on directory count failed, this is probably not a valid IFD offset I saw this in an R session. I descibe the context on Stackoverflow: http://stackoverflow.com/questions/4831882/mysterious-error-from-foreach Ther

[gdal-dev] rasterlite creation error

2010-11-16 Thread Neil Best
What does this mean? $ gdal_translate -of Rasterlite /data/grass/global/cusa/cellhd/agc_crop cusa.db -co DRIVER=PNG Input file size is 695, 298 ERROR 1: In ExecuteSQL(): sqlite3_prepare(SELECT AddGeometryColumn('cusa_metadata', 'geometry', -1, 'POLYGON', \ 2)): no such function: AddGeometryCol

[gdal-dev] will r.in.gdal use GDALRasterAttributeTable elements?

2010-05-04 Thread Neil Best
[cross-posted on grass-user] I have a data set in IMG format that has a GDALRasterAttributeTable element which contains class name metadata that would be perfect for category names, but I don't see a way to take advantage of it right away. First of all there are problems with the file's georefer

Re: [Gdal-dev] building GDAL under cygwin with ODBC

2009-07-14 Thread Neil Best
Neil Best wrote: > > Does anyone know if it's possible? > > I said: ./configure --with-odbc=/usr/include/w32api > It doesn't seem possible, so I am resigned to making it work in the FWTools DOS shell. Is it possible to make a DSN-less ODBC connection? In othe

Re: [Gdal-dev] mean of pixel stack

2009-07-14 Thread Neil Best
Greg Fiske wrote: > > > Does anyone have some code (or methodology) that they are willing to share > that will take a stack of images and return the mean or std dev. of each > pixel stack (pixels that occupy the same space), while ignoring a user > define pixel value? > Greg, I am pretty sur

[Gdal-dev] building GDAL under cygwin with ODBC

2009-07-08 Thread Neil Best
Does anyone know if it's possible? I said: ./configure --with-odbc=/usr/include/w32api and then make throws a bunch of errors involving .h files in that directory. If anyone has tried this I would appreciate hearing from you. Would it be any different undr MinGW? I have never worked with it