On jeudi 4 avril 2019 01:50:17 CEST Nikolai Bezdna wrote: > Hello, > Is there an option to get ids for relation members and node ids for ways in > OGR OSM driver?
As far as I remember, no. The OGR OSM driver is a "medium/high-level" driver trying to reconstruct OGC Single Feature geometries from OSM topological structure. The source code of GDAL includes low level parsers https://github.com/OSGeo/gdal/blob/master/gdal/ogr/ogrsf_frmts/osm/ osm_parser.h https://github.com/OSGeo/gdal/blob/master/gdal/ogr/ogrsf_frmts/osm/ osm_parser.cpp that you could use for that purpose. -- Spatialys - Geospatial professional services http://www.spatialys.com _______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
