Le dimanche 02 mars 2014 15:47:37, agerrius a écrit :
> Hi all,
> 
> I'm using the OGR libraries from a C# application to read OSM data. But I
> have a problem now, with a certain file the reading of the features
> "stalls". It seems GetNextFeature() never returns anything.
> 
> When I use ogrinfo -al on the same file it also seems to stall (probably at
> the same point, but not sure about that).

Arno,

Ok, I've reproduced and fixed the issue : 
http://trac.osgeo.org/gdal/ticket/5404

Anyway, with OSM data, the recommended way of reading data is to use 
interleaved reading. See "interleaved reading" paragraph at 
http://gdal.org/ogr/drv_osm.html

Even

-- 
Geospatial professional services
http://even.rouault.free.fr/services.html
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to