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. _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev