GeoPackage is the modern alternative to formats like SDTS and Shapefile. At it’s core, GeoPackage is simply a SQLite database schema. If you know SQLite, you are close to knowing GeoPackage. Install Spatialite – the premiere spatial extention to SQLite – and you get all the performance of a spatial database along with the convenience of a file-based data set that can be emailed, shared on a USB drive or burned to a DVD.
A ‘context document’ specifies a fully configured service set which can be exchanged (with a consistent interpretation) among clients supporting the standard. The OGC Web Services Context Document (OWS Context) was created to allow a set of configured information resources (service set) to be passed between applications primarily as a collection of services. OWS Context is developed to support in-line content as well. The goal is to support use cases such as the distribution of search results, the exchange of a set of resources such as OGC Web Feature Service (WFS), Web Map Service (WMS), Web Map Tile Service (WMTS), Web Coverage Service (WCS) and others in a ‘common operating picture’. Additionally OWS Context can deliver a set of configured processing services (Web Processing Service (WPS)) parameters to allow the processing to be reproduced on different nodes.
11. Why GeoPackage?
Shapefiles, as a format, are dinosaurs
web services don’t work without internet access
internet sucks power from a mobile device
OGC
®
12. Overview
• A GeoPackage is a platform-independent SQLite database file
• A GeoPackage may contain
– Data in any geographic or projected CRS using any Datum
– Vector Feature User Data Tables
• GP BLOB Geometry Binary Format containing WKB Geometries
• Linear 2D Geometries with optional elevation and measure values
– Tile Matrix Pyramid User Data Tables
• PNG and JPEG Tiles
• Zoom times two (adjacent zoom level pixel sizes)
• First open source implementation
– https://bitbucket.org/luciad/libgpkg
– A SQLite 3 extension that provides a minimal implementation
– distributed under the Apache Software License version 2.0
OGC
®
13. GeoPackage Tables for Features
gpkg_spatial_ref_sys
• defines spatial reference systems
gpkg_contents
• identifies user data tables
gpkg_geometry_columns
• identifies feature geometries
user_data_feature_tables
• contain feature data
OGC
®
14. SQLite tables in a sample file†
OGC
®
†using SQLite Manager Firefox extension
15. GeoPackage Tables for Tiles
gpkg_spatial_ref_sys
• defines spatial reference systems
gpkg_contents
• identifies user data tables
gpkg_tile_matrix_set
• tile pyramid envelope
gpkg_tile_matrix
• describes tile zoom levels
user_data_tiles_tables
• contain tile pyramids
OGC
®
16. OGC OWS-9 Aviation
Luciad & GeoPackage use cases
Create and edit
annotations in the field
Spot reporting with
location and camera
picture info
OGC
®
Access elevation data
to enable visibility
calculations