[gdal-dev] Ogr and setSpatialFilter

Kees kling ckling at upcmail.nl
Thu Jan 3 07:00:58 PST 2013


On 01/03/2013 03:31 PM, Even Rouault wrote:
>> That is not that easy, because it is embedded in in c++ applications.
>> Meanwhile I reinstalled the old version and can go on with my work, but
>> i think there is something wrong
> Checking with ogrinfo your.dataset -spat xmin ymin xmax ymax might be an easy
> way to try to reproduce
>
> Other thing I think of : if you application uses the C++ API of GDAL, did you
> make sure to recompile it against the headers of GDAL 1.9.2 ? The C++ ABI may
> change when upgrading from GDAL 1.X to GDAL 1.Y, so recompiling is necesserary.
> If you just use the GDAL C API, this is not needed.
>
After reinstalling the libgdal.so.1.16.2 version and a complete 
recompile my c++ program still the feature count is 0. I tried ogrinfo 
and there the filtering is working as the should be.

Kees



More information about the gdal-dev mailing list