[QGIS-Developer] Difference between QgsVectorFileWriter and QgsOgrProvider when creating gpkg?

Even Rouault even.rouault at spatialys.com
Mon Oct 19 01:36:29 PDT 2020


> Wow, great! So now Tim's screencast has directgly lead to a bunch of
> improvements from GDAL up :D

For clarity I didn't turn on automatically PRAGMA synchronous = OFF for 
existing databases.

For current GDAL version, this can be done by setting the 
OGR_SQLITE_SYNCHRONOUS configuration option to OFF.

And starting with GDAL 3.2, also as an open option of the GPKG driver:
"PRELUDE_STATEMENTS=PRAGMA synchronous = OFF" (to reduce the scope to a given 
file)

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the QGIS-Developer mailing list