Le vendredi 30 janvier 2015 10:37:30, Roger André a écrit :
> Hi All,
> 
> Curious how I go about specifying the equivalent of "-lco ENCODING=UTF-8"
> when using the Python API to write out shapefiles with OGR?

Roger,

sure: taken from autotest suite:

shape_ds.CreateLayer('test_utf_cut', geom_type = ogr.wkbPoint, \
        options = ['ENCODING=UTF-8'])


Even

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

Reply via email to