[gdal-dev] change attribute type of OSM data

Even Rouault even.rouault at spatialys.com
Tue Jul 19 00:54:04 PDT 2016


Le mardi 19 juillet 2016 09:47:33, Even Rouault a écrit :
> Le mardi 19 juillet 2016 06:19:54, maning sambale a écrit :
> > Hi Even,
> > 
> > Here's mi osmconf.ini:
> > https://gist.github.com/anonymous/f9b34c34a2107fd4fb3a5dfa5931b78f
> 
> Works for me. Looking at history, I see this capability was added in GDAL
> 2.0 so I presume you use an older version.

This was added together with the capability of creating computed fields with 
SQL expressions.

But you can change the type of columns with CAST(field_name AS type_name) in 
your -sql statement

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list