On Sat, 17 Oct 2020 at 20:02, Even Rouault <[email protected]> wrote: > > Hi Nyall, > > > But I can't explain this. In both cases the resultant gpkg has a > > spatial index. Does anyone know why one of the methods is so much > > slower than the other? (And ultimately, can we fix > > QgsVectorLayerExporter so it uses the same fast approach!) > > Candidate fix and explanations at: > https://github.com/qgis/QGIS/pull/39439
Thanks Even! Just for my own curiosity, is there some logic in GDAL which defers the spatial index creation on the immediate first use of a newly created geopackage layer? Nyall > > Note that I haven't given this more than unit testing, but given what you > mentionned, I'm rather confident this should fix the issue. > > Even > > -- > Spatialys - Geospatial professional services > http://www.spatialys.com _______________________________________________ QGIS-Developer mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
