Re: [gdal-dev] Overriding IRasterIO in class derived from GDALRasterBand

2009-08-08 Thread Tamas Szekeres
Hi Jorge, What I have in my mind is something like the DirectRasterIO implementation in WCSDataset / WCSRasterBand (see wcsdataset.cpp). It appears that this driver is suffering from the same issue, and intend to minimize the roundtrips to the server as much as possible. It looks like this direct

[gdal-dev] Re: How would run the geographic query against the shape file via a gdal command line program?

2009-08-08 Thread Hermann Peifer
John Mitchell wrote: I have tried running both gdalwarp and gdal_merge against a subset of hundreds of geotiff images via geographic bounding box. I would like to speed up the performance by running a geographic query against the shape file which was already created via gdaltindex against all the

Re: [gdal-dev] Overriding IRasterIO in class derived from GDALRasterBand

2009-08-08 Thread Jorge Arévalo
Hello, 2009/8/7 Tamas Szekeres : > Just thinking out loadly; > > Wouldn't it be easier to implement that cache at the driver level, just by > composing the raster in a temp image buffer and feed that image in the > subsequent IReadBlock calls? I think we should also think about the non > regular a

RE: [gdal-dev] With 1.6.2, still can't read ArcInfo binary grids: GDAL Error 3:Attempt to read past EOF inC:\Temp\GeoEcoTemp_Jason\tmpopx_s3\projected0a/../info/arc.dir.

2009-08-08 Thread Jason Roberts
Evan and Roger, Thanks for clarifying the situation and coming up with a solution. I'm very happy to hear that this can probably be addressed with the existing 1.6.2 release candidate. Kudos to both of you. The idea of bubbling this non-fatal error up as a warning from rgdal sounds ok, but not gr

[gdal-dev] How would run the geographic query against the shape file via a gdal command line program?

2009-08-08 Thread John Mitchell
I have tried running both gdalwarp and gdal_merge against a subset of hundreds of geotiff images via geographic bounding box. I would like to speed up the performance by running a geographic query against the shape file which was already created via gdaltindex against all the geotiff images. Next I

Re: [gdal-dev] With 1.6.2,still can't read ArcInfo binary grids: GDAL Error 3:Attempt to read past EOF inC:\Temp\GeoEcoTemp_Jason\tmpopx_s3\projected0a/../info/arc.dir.

2009-08-08 Thread Roger Bivand
On Sat, 8 Aug 2009, Even Rouault wrote: - Original Message - From: Jason Roberts To: gdal-dev@lists.osgeo.org Cc: 'Roger Bivand' Sent: Saturday, August 08, 2009 12:05 AM Subject: [gdal-dev] With 1.6.2,still can't read ArcInfo binary grids: GDAL Error 3:Attempt to read past EOF inC:\Te

Re: [gdal-dev] With 1.6.2, still can't read ArcInfo binary grids: GDAL Error 3:Attempt to read past EOF inC:\Temp\GeoEcoTemp_Jason\tmpopx_s3\projected0a/../info/arc.dir.

2009-08-08 Thread Even Rouault
- Original Message - From: Jason Roberts To: gdal-dev@lists.osgeo.org Cc: 'Roger Bivand' Sent: Saturday, August 08, 2009 12:05 AM Subject: [gdal-dev] With 1.6.2,still can't read ArcInfo binary grids: GDAL Error 3:Attempt to read past EOF inC:\Temp\GeoEcoTemp_Jason\tmpopx_s3\projected0