[gdal-dev] change attribute type of OSM data

maning sambale emmanuel.sambale at gmail.com
Mon Jul 18 00:22:52 PDT 2016


Hi,

I found this section of the code osmconf.ini:

# type of attribute 'foo' can be changed with something like
#foo_type=Integer/Real/String/DateTime

So in my configuration I have the following:

# keys to report as OGR fields
attributes=name,building,height,ele,start_date,

height_type=Real
ele_type=Real
start_date_type=DateTime

Not sure if I'm doing it correctly


-- 
cheers,
maning
------------------------------------------------------
"Freedom is still the most radical idea of all" -N.Branden
https://epsg4253.wordpress.com/
http://twitter.com/maningsambale
------------------------------------------------------


More information about the gdal-dev mailing list