On vendredi 25 octobre 2019 20:52:06 CET Rahkonen Jukka (MML) wrote: > Hi, > > This shapefile from the Inspire dataportal > https://geospatial.jrc.ec.europa.eu/geoserver/wad/ows?service=WFS&version=1 > .0.0&request=GetFeature&typeName=wad%3Alpd_int2&outputFormat=SHAPE-ZIP > > contains 226 (multi)polygons, one of them with 516716 ring. It seems that > ogr2ogr can't explode the geometries in a reasonable time. Spatialite-gui > did the job in 2 min 30 sec with > > select elementarygeometries('lpd_int2','GEOMETRY','exploded','id_1','id_2'); > > Perhaps GDAL could be improved as well.
Indeed. I've just committed an improvement. ogr2ogr -explodecollections out.sqlite /vsizip/lpd_int2.zip runs now in 6 min 50s with a debug build. The resulting file contains 3 185 596 features and weighs 778 MB. Even -- Spatialys - Geospatial professional services http://www.spatialys.com _______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
