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

Reply via email to