[gdal-dev] Ogr and setSpatialFilter
Even Rouault
even.rouault at mines-paris.org
Thu Jan 3 06:06:27 PST 2013
Selon Kees kling <ckling at upcmail.nl>:
> Hi,
>
> last week I upgraded my ubuntu and also the gdal library. I was using
> version libgdal.so.1.15.0, now I compiled and installed version
> libgdal.so.1.16.2.
> In my application i'm using OGRLayer SetSpatialFilter and it was working
> in the old version, but in the new version the GetFeatureCount returns 0
> so nothing is plotted. Is there a change in the function between these
> two versions?
Check :
ldd /path/to/libgdal.so.1.15.0 | grep geos
and
ldd /path/to/libgdal.so.1.16.2 | grep geos
My guess is that the first returns something, whereas the second doesn't. In
which case, you might need to install the developement package of GEOS and
rebuild GDAL against it.
>
> Thanks
> Kees Kling
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
More information about the gdal-dev
mailing list