<html><head></head><body><div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:13px">Thank you for the useful reply Jukka!<br><br>The command you gave me:<br><blockquote id="yui_3_16_0_ym19_1_1479459858398_9637"><div id="yui_3_16_0_ym19_1_1479459858398_9547" dir="ltr">ogr2ogr -f PostgreSQL "PG:dbname=osm" test.pbf -lco<br id="yui_3_16_0_ym19_1_1479459858398_9588" clear="none">COLUMN_TYPES=all_tags=hstore</div></blockquote>does the same thing as "all_tags=yes" in the osmconf.ini file:<br><blockquote id="yui_3_16_0_ym19_1_1479459858398_9648"><div id="yui_3_16_0_ym19_1_1479459858398_9542" dir="ltr"><font id="yui_3_16_0_ym19_1_1479459858398_10017" color="#5b8828"># uncomment to create "all_tags" field. "all_tags" and "other_tags" are exclusive</font><br id="yui_3_16_0_ym19_1_1479459858398_9761">all_tags=yes</div></blockquote><div dir="ltr" id="yui_3_16_0_ym19_1_1479459858398_9541">?<br><br>If not, then what is the difference between these two?<br></div><div id="yui_3_16_0_ym19_1_1479459858398_9402"><span></span></div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: verdana, helvetica, sans-serif; font-size: 13px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font size="2" face="Arial"> On Friday, November 18, 2016 8:55 AM, jratike80 <jukka.rahkonen@maanmittauslaitos.fi> wrote:<br></font></div> <br><br> <div class="y_msg_container">georges wrote<div class="yqt9703414567" id="yqtfd25069"><br clear="none">> Thank you for the quick reply Even!<br clear="none">> <br clear="none">> So this required predefined set of fields is a necessary step for any .osm<br clear="none">> file conversion with ogr2ogr.exe?<br clear="none">> Not only conversion from .osm to .shp?<br clear="none">> But also to .pbf, geojson etc. ?</div><br clear="none"><br clear="none">Only exception and highly recommended if you want to get all the tags is to<br clear="none">use PostGIS and "all_tags" which puts everything into hstore:<br clear="none"><br clear="none">ogr2ogr -f PostgreSQL "PG:dbname=osm" test.pbf -lco<br clear="none">COLUMN_TYPES=all_tags=hstore<br clear="none"><br clear="none">-Jukka Rahkonen-<br clear="none"><br clear="none"><br clear="none"><br clear="none">--<br clear="none">View this message in context: <a shape="rect" href="http://osgeo-org.1560.x6.nabble.com/gdal-dev-Why-are-fields-required-in-osmconf-ini-file-tp5296342p5296397.html" target="_blank">http://osgeo-org.1560.x6.nabble.com/gdal-dev-Why-are-fields-required-in-osmconf-ini-file-tp5296342p5296397.html</a><br clear="none">Sent from the GDAL - Dev mailing list archive at Nabble.com.<br clear="none">_______________________________________________<br clear="none">gdal-dev mailing list<br clear="none"><a shape="rect" ymailto="mailto:gdal-dev@lists.osgeo.org" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br clear="none"><a shape="rect" href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br><br></div> </div> </div> </div></div></body></html>