Re: [gdal-dev] image operation over areas defined by a shapefile

2011-12-11 Thread Matt Perry
Hi Xiaodong, On Sun, Dec 11, 2011 at 2:22 PM, Xiaodong Zhang wrote: > I'm wondering if someone has done something like this and would like to > share the experience. Say, I have an image, e.g. NDVI, and a shapefile > define one or more areas (polygons) with the image. How to calculate the > stati

[gdal-dev] image operation over areas defined by a shapefile

2011-12-11 Thread Xiaodong Zhang
Hi Gdal experts, First of all, happy holiday to all of you. Gdal-dev is really a wonderful learning platform (at least for me). I'm wondering if someone has done something like this and would like to share the experience. Say, I have an image, e.g. NDVI, and a shapefile define one or more ar

Re: [gdal-dev] SQLite/SpatiaLite slowness in OGR

2011-12-11 Thread Even Rouault
Le dimanche 11 décembre 2011 17:09:06, a.furi...@lqt.it a écrit : > On Sun, 11 Dec 2011 16:33:58 +0100, Even Rouault wrote > > > Hi Sandro, > > > > I'm OK with your patch. I guess that the name of the > > GML_SQLITE_CACHE_MB config option must come from your work with your > > previous GML patch,

Re: [gdal-dev] SQLite/SpatiaLite slowness in OGR

2011-12-11 Thread a . furieri
On Sun, 11 Dec 2011 16:33:58 +0100, Even Rouault wrote > Hi Sandro, > > I'm OK with your patch. I guess that the name of the > GML_SQLITE_CACHE_MB config option must come from your work with your > previous GML patch, but I'd suggest to rename it to OGR_SQLITE_CACHE > as it is more general. Are

Re: [gdal-dev] SQLite/SpatiaLite slowness in OGR

2011-12-11 Thread Even Rouault
Hi Sandro, I'm OK with your patch. I guess that the name of the GML_SQLITE_CACHE_MB config option must come from your work with your previous GML patch, but I'd suggest to rename it to OGR_SQLITE_CACHE as it is more general. Are you OK with that ? I'll also add a note in ogr2ogr man page about