[gdal-dev] Does ogr2ogr -overwrite truncate also the spatial index in GeoPackage?
Rahkonen Jukka (MML)
jukka.rahkonen at maanmittauslaitos.fi
Tue Feb 6 04:47:10 PST 2018
Hi,
Title says most of it. Running "ogr2ogr -f gpkg -update -overwrite" for a vector table in GeoPackage gives an error:
ERROR 1: Spatial index already existing
I wonder if the overwrite mode still does the right thing. Is the R-Tree table truncated automatically by the triggers together with the main table? If it is then the result is a valid spatial index and the only issue is the misleading error message.
-Jukka Rahkonen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20180206/6f1cf8fc/attachment.html>
More information about the gdal-dev
mailing list