[gdal-dev] Corrupted geopackage

Mark Johnson mj10777 at googlemail.com
Mon Feb 14 10:41:47 PST 2022


On Mon, 14 Feb 2022, 14:11 Mark Johnson, <mj10777 at googlemail.com> wrote:

> You should try rebuild the SpatialIndex.
>
> Spatialite offers gpkgAddSpatialIndex for a new Index.
>
> For its own format there are repair functions.
>

>SQL functions reference list
>- spatialite-sql-latest.html
> - will always lead to the released latest version
>
>- https://www.gaia-gis.it/gaia-sins/spatialite-sql-latest.html
> - SQL functions for Spatial-MetaData and Spatial-Index handling
> - https://www.gaia-gis.it/gaia-sins/spatialite-sql-latest.html#p16
> - CreateSpatialIndex
> - DisableSpatialIndex
> - CheckSpatialIndex
> - RecoverSpatialIndex
> - SQL functions implementing OGC GeoPackage compatibility
> - https://www.gaia-gis.it/gaia-sins/spatialite-sql-latest.html#p16gpkg
> - gpkgAddSpatialIndex
>
>- The 'Syntax' column: the command syntax
> - gpkgAddSpatialIndex(table_name String, geometry_column_name String) :
void
>- The 'Summary' column: further information
>

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20220214/6ef0c105/attachment-0001.html>


More information about the gdal-dev mailing list