[gdal-dev] Relation members ids in OGR OSM driver
Even Rouault
even.rouault at spatialys.com
Thu Apr 4 12:58:32 PDT 2019
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
More information about the gdal-dev
mailing list