Hi, I believe that the i/o error is something that comes from SQLite. Does error happen if you save into other formats like shapefile flatgeobuf, or parquet? In what kind of file system the new geopackage is? What journal mode do you use? Is "pragma synchronous" on or off?
-Jukka Rahkonen- Lähettäjä: gdal-dev <gdal-dev-boun...@lists.osgeo.org> Puolesta Shayan Ghofrany via gdal-dev Lähetetty: tiistai 17. lokakuuta 2023 18.52 Vastaanottaja: gdal-dev@lists.osgeo.org Aihe: [gdal-dev] GDALPolygonize fails with "failed to execute insert : disk I/O error" I'm attempting to polygonize a GeoTIFF using the built-in GDALPolygonize, but sometimes it fails to write to file. I'm not attempting any sort of multi-threaded functionality so everything is running synchronously. Here is the code I'm using to polygonize: https://gist.github.com/Irantwomiles/c5f38b3e81fc3014be4e859048ad523f
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev