[gdal-dev] Extracting keys & values from OSM Planet

Even Rouault even.rouault at spatialys.com
Tue Nov 7 13:37:02 PST 2017


> 2. Is OGR handling well the conversion from .osm to ESRI Shapefiles?

Yes, but within the limits ot the shapefile, and particularly .dbf format: limitation to 254 
characters for field values, 10 characters for field names... which are easily violated by 
OSM extracts.

Spatialite, GeoPackage, PostGIS etc. would be better choices as output format

> 
> 3. What is the way to split "other_tags" in multiple new fields *when*
> knowing exactly which tags are contained and should be obtained?

Edit osmconf.ini to add in the attributes= settings the tag names you're interested in.

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20171107/02a1b496/attachment.html>


More information about the gdal-dev mailing list