On vendredi 22 juin 2018 14:38:15 CEST James Klassen wrote: > I finally got around to doing a rough implementation of parsing ESRIJSON > with curved geometries. The code is very rough yet, but works enough to > import a polygon layer from an ESRI FeatureService into PostGIS with the > curves intact. Code is available at [1]. > > Main issues: > > I don't know how to detect if there will be curves in the source file > without first parsing the whole file, so currently I just assume a curved > geometry type. This might be a candidate for an open option.
The ESRI Json reader ingests everything in memory and builds the JSon tree structure, so doing an initial pass by default shouldn't be a big deal. > > My focus has been on polygon layers (because that's the dataset I need to > read). I doubt it works outside of polygon layers at the moment. > > I had to enable the "Curve Geometries" capability in the top level GeoJSON > driver (which may break some things for the GeoJSON/TopoJSON drivers). If my memories are right, you only need to set it for write support. So shouldn't be needed there. -- Spatialys - Geospatial professional services http://www.spatialys.com _______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
