ogr2ogr.py is a toy / sample file which receives little maintainance, and was mostly a one-time port of the ogr2ogr.cpp source, which is the on used by the command line utility.
You may use the 'librarified' ogr2ogr with the gdal.VectorTranslate() Python function. Examples at https://github.com/OSGeo/gdal/blob/master/autotest/utilities/ test_ogr2ogr_lib.py#L63 Even -- Spatialys - Geospatial professional services http://www.spatialys.com _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev