Hi, With ogr2ogr, you can't read all keys from an OSM file.
As Even said, you have to use another loop to read all available keys in the file. You can have a look at the QGIS QuickOSM plugin. You can open a OSM file and ask the plugin to read all keys available in the file. 2016-11-19 8:30 GMT+07:00 Djordje Spasic <[email protected]>: > During the last couple of days, both Jukka and Even helped me with some > .osm file issues. And I am grateful on that. > > I would like to ask one more question, if that's ok: > Is it possible to open an .osm file through ogr2ogr.exe and somehow read > all the fields (keys) used in that .osm file? The final list of those > fields do not have to be unique, they can repeat. > Is it possible to somehow save all those fields to a .shp or .txt file > through ogr2ogr.exe? > > Thank you for the reply. > > _______________________________________________ > gdal-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev >
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
