<div dir="ltr">Hi,<div><br></div><div>With ogr2ogr, you can't read all keys from an OSM file.</div><div><br></div><div>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.</div><div class="gmail_extra"><br><div class="gmail_quote">2016-11-19 8:30 GMT+07:00 Djordje Spasic <span dir="ltr"><<a href="mailto:issworld2000@yahoo.com" target="_blank">issworld2000@yahoo.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:verdana,helvetica,sans-serif;font-size:13px"><div id="m_7401185731052404733m_-8290776194491433525yui_3_16_0_ym19_1_1479459858398_101199" dir="ltr">During the last couple of days, both Jukka and Even helped me with some .osm file issues. And I am grateful on that.<br></div><div dir="ltr" id="m_7401185731052404733m_-8290776194491433525yui_3_16_0_ym19_1_1479459858398_101311"><br></div><div dir="ltr" id="m_7401185731052404733m_-8290776194491433525yui_3_16_0_ym19_1_1479459858398_101299">I would like to ask one more question, if that's ok:<br>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.<br>Is it possible to somehow save all those fields to a .shp or .txt file through ogr2ogr.exe?<br><br>Thank you for the reply.<br></div></div></div><br>______________________________<wbr>_________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/" target="_blank">http://lists.osgeo.org/</a>mailman<wbr>/listinfo/gdal-dev<br></blockquote></div><br></div></div>