On mercredi 6 novembre 2019 00:02:52 CET Mateusz Loskot wrote: > On Tue, 5 Nov 2019 at 12:06, Even Rouault <[email protected]> wrote: > > This is a topic we already discussed a couple years ago. Please find a RFC > > about it in: > > > > https://github.com/OSGeo/gdal/pull/1984/files > > I dropped some comments there, not a review though.
I've updated both the RFC and the implementation (number of changes since the preliminary one) to what I believe should be close to their final states. In addition to the rather dummy example of a Python driver that is in the RFC, there are 2 more interesting examples: * a PASSTHROUGH driver that forwards calls to the GDAL SWIG Python API: https://github.com/rouault/gdal/blob/pythondrivers/gdal/examples/pydrivers/ogr_PASSTHROUGH.py * a driver implemented a simple parsing of CityJSON (https://www.cityjson.org/) https://github.com/rouault/gdal/blob/pythondrivers/gdal/examples/pydrivers/ogr_CityJSON.py The tutorialshould also help: https://github.com/rouault/gdal/blob/pythondrivers/gdal/doc/source/tutorials/vector_python_driver.rst I'll submit the RFC to vote soon if there are no other remarks. Even -- Spatialys - Geospatial professional services http://www.spatialys.com _______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
