On Monday 13 October 2014 12:47:45 Martin Landa wrote: > Hi, > > 2014-10-13 10:41 GMT+02:00 Even Rouault <[email protected]>: > > [...] > > > If you use ogr2ogr, you could use the "-fieldTypeToString StringList" > > option to ask for StringList fields to be converted to String. > > ah, ok, I overlooked this option. Is it possible also from Python API?
Basically it is a matter of declaring a ogr.OFTString field in the target layer definition. dstFeature.SetFrom(srcFeature) will do the translation. > Thanks, Martin -- Spatialys - Geospatial professional services http://www.spatialys.com _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
