Skip to content
Mark Johnson edited this page May 23, 2014 · 16 revisions

Creating / Destroying of a VirtualGPKG wrapper

[--> 'List of Sql-Commands'] (Home#commands)

[<-- 'Index Page for GeoPackage - Commands'] (GeoPackage-Index#commands)


Original Documentation [[SQL functions implementing OGC GeoPackage compatibility|http://www.gaia-gis.it/gaia-sins/spatialite-sql-4.1.0.html#p16gpkg]]

  • AutoGPKGStart( void ) : Integer
  • AutoGPKGStop( void ) : Integer

  • This function will inspect the DB layout, then automatically creating/refreshing a VirtualGPKG wrapper for each GPKG geometry table
    • returns amount of tables effected
SELECT AutoGPKGStart();
  • sample 20140101.world_Haiti.gpkg
    • a valid R10 GeoPackage
      • ['CheckGeoPackageMetaData'] (CheckGeoPackageMetaData) return 1
        • 1 features [Geometry] table geonames
        • 1 tiles [Raster] table fromosm_tiles

2014-05-23: Mark Johnson, Berlin Germany


Clone this wiki locally