Hi,

I"m totally new to GDAL, sorry if this is a obvious thing for you.

Trying to filter features in the area with following code snippet.
However
poLayer->GetNextFeature()
always returns null on my windows 8.


   OGRPolygon* polygon = new OGRPolygon();
>    OGRLinearRing* ring = new OGRLinearRing();
>    ring->addPoint(51.089028, 13.617821);
>    ring->addPoint(51.089675, 13.807336);
>    ring->addPoint(51.025585, 13.807679);
>    ring->addPoint(51.024937, 13.616105);
>    polygon->addRing(ring);
>    poLayer->SetSpatialFilter(polygon);


The full code is
http://pastebin.com/eWUeVsTG

I suspected geos dll is not loaded, but it's loaded according to following
output.
http://pastebin.com/7r1gUdQq

Best Regards

Tunca Tunc
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to