Re: [gdal-dev] Does ogr2ogr -overwrite truncate also the spatial index in GeoPackage?

2018-02-06 Thread Rahkonen Jukka (MML)
hko...@maanmittauslaitos.fi> Aihe: Re: [gdal-dev] Does ogr2ogr -overwrite truncate also the spatial index in GeoPackage? Jukka, Which version do you use ? If it is a trunk version before Jan 23, you may run into the bug fixed by https://trac.osgeo.org/gdal/changeset/41325 Even -- Spatialys - Geos

Re: [gdal-dev] Does ogr2ogr -overwrite truncate also the spatial index in GeoPackage?

2018-02-06 Thread Even Rouault
Jukka, Which version do you use ? If it is a trunk version before Jan 23, you may run into the bug fixed by https://trac.osgeo.org/gdal/ changeset/41325 Even -- Spatialys - Geospatial professional services http://www.spatialys.com ___ gdal-dev

[gdal-dev] Does ogr2ogr -overwrite truncate also the spatial index in GeoPackage?

2018-02-06 Thread Rahkonen Jukka (MML)
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