On Monday 13 October 2014 17:01:49 Martin Landa wrote:
> 2014-10-13 14:43 GMT+02:00 Martin Landa <[email protected]>:
> > ofeature = ogr.Feature(olayer.GetLayerDefn())
> 
> the problem will be probably in the code above. Do I need to define
> types of affected attributes manually (StringList -> String)?

Yes that's what I meant with "it is a matter of declaring a ogr.OFTString field 
in the target layer definition"
That's what is done in ogr2ogr.cpp or swig/python/samples/ogr2ogr.py

> 
> Thanks, Martin

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to