On vendredi 27 septembre 2019 16:58:08 CEST Richard Marsden wrote:
> Even,
> 
> Thanks  - I'll have a look at ds.GetNextFeature().  I'll note that the
> sample (C++) code on the interleaved reading section, is where I got
> the double loop that looped over layers, and then features within that
> layer. This led me astray because it loops over the layers in index
> order - doing this results in the closed ways being skipped.

No, your code doesn't implement the code of the docs. It should be a 3-level 
looping.
Anyways ds.GetNextFeature() should be easier

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to