[gdal-dev] Importing OSM: closed ways being skipped

jratike80 jukka.rahkonen at maanmittauslaitos.fi
Thu Sep 26 22:52:43 PDT 2019


Winwaed wrote
> Whilst searching this list, I saw references to osmconf.ini - turns
> out I have about half a dozen copies installed from various
> applications. They all have a "closed_ways_are_polygons" entry, which
> looks like it could be the cause of the problem.
> I tried copying one of these files to my plugin's directory, reloading
> the plugin, and no change.
> 
> How can I programmatically check which osmconf.ini (if any) is being
> used, what the closed_ways_are_polygons= setting is set to? Is it
> possible to override it?

Hi,

Answer to how to define which osmconf.ini to use can be found from
https://gdal.org/drivers/vector/osm.html that says "You can also define an
alternate path with the OSM_CONFIG_FILE configuration option." 

-Jukka Rahkonen-



--
Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html


More information about the gdal-dev mailing list