Hi, I was wondering if the ReadOSM library (https://www.gaia-gis.it/fossil/readosm/index) by Alessandro Furieri could be utilised for making a basic read-only OpenStreetMap driver. Basic driver would read OSM data in XML or pbf format and write out point, line and polygon layers with a fixed attribute schema following a tag list which user could give as input. ReadOSM seems to have most if not all that is needed for that. A ready made spatialite_osm_map program is some example into that way but it is not made for generic use. It imports a hardcoded set of tags and creates a predefined set of layers https://www.gaia-gis.it/fossil/spatialite-tools/index.
-Jukka Rahkonen- _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev