[gdal-dev] GDALPolygonize fails with "failed to execute insert : disk I/O error"

Rahkonen Jukka jukka.rahkonen at maanmittauslaitos.fi
Tue Oct 17 09:45:21 PDT 2023


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-bounces at lists.osgeo.org> Puolesta Shayan Ghofrany via gdal-dev
Lähetetty: tiistai 17. lokakuuta 2023 18.52
Vastaanottaja: gdal-dev at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20231017/6b45943c/attachment.htm>


More information about the gdal-dev mailing list