[gdal-dev] S-57 open options with python bindings

Even Rouault even.rouault at spatialys.com
Wed Jun 7 05:16:20 PDT 2017


On mercredi 7 juin 2017 06:07:38 CEST Mike wrote:
> Hi,
> I looked to see if this was asked before but couldn't find it.
> Are any of the S57 open options exposed in the swig bindings? If so, how do
> I use them?
> 
> the page I refer to is here http://www.gdal.org/drv_s57.html

>From https://svn.osgeo.org/gdal/trunk/autotest/ogr/ogr_s57.py

ds = gdal.OpenEx( 'tmp/ogr_s57_9.000', open_options = ['RETURN_PRIMITIVES=ON'])

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20170607/25a20806/attachment-0001.html>


More information about the gdal-dev mailing list