[gdal-dev] How to replace an osm key?
jratike80
jukka.rahkonen at maanmittauslaitos.fi
Fri Nov 11 05:36:30 PST 2016
Hi,
You can rename the fields with SQL
ogrinfo -dialect sqlite -sql "select geometry, building as bldg
from multipolygons" hamburg-latest.osm.pbf
....
Geometry Column = GEOMETRY
bldg: String (0.0)
....
Slight drawback is that you must include all the attributes in SELECT but
you can save the command into text file for reuse.
-Jukka Rahkonen-
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/gdal-dev-How-to-replace-an-osm-key-tp5295339p5295342.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.
More information about the gdal-dev
mailing list