[gdal-dev] laundering of field's names in GDAL
Djordje Spasic
issworld2000 at yahoo.com
Sun Nov 27 02:58:10 PST 2016
I have been puzzled with something for the last couple of days:
I am converting an .osm file to .shp files with ogr2ogr.exe.
This specific line in osmconf.ini file:
# comment to avoid laundering of keys ( ':' turned into '_' )
attribute_name_laundering=yes
determines whether colons in names of the OSM keys will be replaced (laundered) with underscores in names of .shp fields, once a conversion from .osm to .shp is completed.
The problem is that for some strange reason, this laundering always happens, regardless of how upper line looks like.
So by default the line in osmconf.ini file looks like this:
attribute_name_laundering=yes
I tried changing it to:
attribute_name_laundering=no
and
#attribute_name_laundering=yes
and
#attribute_name_laundering=no
And nothing worked. The laundering of the ":" to "_" is always performed.
Is this some sort of a bug?
Thank you for the reply.
Kind regards,
Djordje Spasic
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20161127/e2342caa/attachment.html>
More information about the gdal-dev
mailing list