<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 14 Feb 2022, 14:11 Mark Johnson, <<a href="mailto:mj10777@googlemail.com">mj10777@googlemail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">You should try rebuild the SpatialIndex.<div dir="auto"><br></div><div dir="auto">Spatialite offers gpkgAddSpatialIndex for a new Index.</div><div dir="auto"><br></div><div dir="auto">For its own format there are repair functions.</div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">>SQL functions reference list</div><div dir="auto">>- spatialite-sql-latest.html</div><div dir="auto">> - will always lead to the released latest version </div><div dir="auto">></div><div dir="auto">>- <a href="https://www.gaia-gis.it/gaia-sins/spatialite-sql-latest.html">https://www.gaia-gis.it/gaia-sins/spatialite-sql-latest.html</a></div><div dir="auto">> - SQL functions for Spatial-MetaData and Spatial-Index handling</div><div dir="auto">> - <a href="https://www.gaia-gis.it/gaia-sins/spatialite-sql-latest.html#p16">https://www.gaia-gis.it/gaia-sins/spatialite-sql-latest.html#p16</a></div><div dir="auto">> - CreateSpatialIndex</div><div dir="auto">> - DisableSpatialIndex</div><div dir="auto">> - CheckSpatialIndex</div><div dir="auto">> - RecoverSpatialIndex</div><div dir="auto">> - SQL functions implementing OGC GeoPackage compatibility</div><div dir="auto">> - <a href="https://www.gaia-gis.it/gaia-sins/spatialite-sql-latest.html#p16gpkg">https://www.gaia-gis.it/gaia-sins/spatialite-sql-latest.html#p16gpkg</a></div><div dir="auto">> - gpkgAddSpatialIndex</div><div dir="auto">></div><div dir="auto">>- The 'Syntax' column: the command syntax </div><div dir="auto">> - gpkgAddSpatialIndex(table_name String, geometry_column_name String) : void</div><div dir="auto">>- The 'Summary' column: further information</div><div dir="auto">></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>