Intro text for this chapter
OGC GeoPackage
OSGeo.nl dag - Delft
Copyright Luciad – Bu sine ss Con fide ntia l
Over Luciad
Internationaal software bedrijf
Technologie voor Situational Awareness
toepassingen
Gefocust op security, emergency
response en luchtvaart
Luciad – Bu sine ss Con fide ntia l
Wie ben ik
Software ontwikkelaar / architect Luciad
12 jaar actief in geospatial sector applicatie & product ontwikkeling
analyse & visualisatie, data formaten, standaarden
GeoPackage
Medeauteur specificatie
Copyright Luciad – Bu sine ss Con fide ntia l
LuciadMobile
Mapping API voor Android Ontwikkeling gestart 2010 Focus op offline omgeving
Luchtvaart (electronic flight bag)
Noodhulp
Ad-hoc data formaten
Vector: Spatialite
Luciad – Bu sine ss Con fide ntia l
LuciadMobile - Astute
Copyright Luciad – Bu sine ss Con fide ntia l
OWS-9
Mid-eind 2012 Data formaat voor mobiele toepassingen
Experimenten rond Uitwisselen gegevens Efficientie Encryptie Draft specificatie Spatialite Ad-hoc tiles
Luciad – Bu sine ss Con fide ntia l
Copyright Luciad – Bu sine ss Con fide ntia l
OGC GeoPackage SWG
Begin 2013 - … Gebaseerd op Vraag van AGC OWS-9
Deelnemers
U.S. Army Geospatial Center Image Matters Carbon Project OpenGeo (Boundless) ESRI Luciad …
Luciad – Bu sine ss Con fide ntia l
Probleemstelling
Informatie delen in omgevingen met beperkte
bandbreedte Luchtvaart Hulpdiensten Militair Mobiele toestellen Beperkte middelen
Applicatie specifieke formaten
Duplicatie van gegevens
10+ tile, 4-5 vector formaten
Copyright Luciad – Bu sine ss Con fide ntia l
Vereisten
Uitwisselbaar Vendor neutraal Platform onafhankelijk Zelf beschrijvend Eenvoudig Meerdere data types
Vector (simple features) Tiles
Meerdere data sets Efficientie
Toegang tot gegevens Aanpassingen
Luciad – Bu sine ss Con fide ntia l
Oplossing
Open geodatabase Platform onafhankelijk Toepassing onafhankelijk Data types Features Tile sets Metadata … SQLite 3 gebaseerd http://www.opengeospatial.org/standards/requests/115 http://opengis.github.io/geopackage/Copyright Luciad – Bu sine ss Con fide ntia l
SQLite 3
Database engine als C bibliotheek
Goede SQL ondersteuning
Integer, Double, Text, Blob data
Pragmatische keuze
Public domain Vendor neutraal Compact, robuust
Data toegankelijk via SQL ACID transacties op data Eén enkel bestand
Luciad – Bu sine ss Con fide ntia l
Ondersteunde data
Features Gebaseerd op SQL/MM Part 3 Lineaire geometrie (cirkel bogen optioneel) GPB + WKB blob
Optionele rtree spatial index
Tiles
WMTS model
JPEG of PNG tiles
Metadata
Copyright Luciad – Bu sine ss Con fide ntia l
Voorbeeld
Orthofoto Contour meer ObservatieLuciad – Bu sine ss Con fide ntia l
Voorbeeld
gpkg_contents
gpkg_spatial_ref_sys
Copyright Luciad – Bu sine ss Con fide ntia l
Voorbeeld
GeoPackage> select table_name, data_type from gpkg_contents; table_name data_type lakemead_clipped features o18229_tif_tiles tiles observations features
gpkg_contents
gpkg_spatial_ref_sys
Luciad – Bu sine ss Con fide ntia l
Voorbeeld
gpkg_contents
gpkg_spatial_ref_sys
observations
gpkg_geometry_columns
GeoPackage> select … from gpkg_geometry_columns;
table_name column_name geometry_type_name srs_id lakemead_clipped shape MultiPolygon 4327 observations location Point 4326
Copyright Luciad – Bu sine ss Con fide ntia l
Voorbeeld
gpkg_contents
gpkg_spatial_ref_sys
observations
gpkg_geometry_columns
GeoPackage> pragma table_info(observations);
cid name type notnull dflt_value pk 0 description TEXT 0 0 1 picture BLOB 0 0 2 location Point 0 0
Luciad – Bu sine ss Con fide ntia l
Voorbeeld
gpkg_contents
gpkg_spatial_ref_sys
observations
gpkg_geometry_columns
GeoPackage> select … from gpkg_data_columns; table_name column_name mime_type
observations picture image/jpeg
Copyright Luciad – Bu sine ss Con fide ntia l
GeoPackage / Shapefile
Een bestand Volledig open UTF-8 of UTF-16 text
100+ Tb Aanpasbaar Meerdere bestanden Gedeeltelijk open Problematisch 2Gb, dbase Herschrijf volledig
Luciad – Bu sine ss Con fide ntia l
GeoPackage / Spatialite + Rasterlite
Enkel data WKT referenties GPB header WKB geometrie WMTS tile pyramides Geschiedenis Authenticatie PROJ4 referenties WKB dialect Arbitraire rasters
Copyright Luciad – Bu sine ss Con fide ntia l
GeoPackage / MBTiles
Gestructureerde metadata Arbitraire referenties Factor 2 standaard Arbitrair optioneel Meerdere datasets Key/Value metadata Web Mercator Factor 2 Een datasetLuciad – Bu sine ss Con fide ntia l
Wanneer beschikbaar?
Specificatie hopelijk finaal begin 2014 Luciad bitbucket.org/libgpkg demo.luciad.com/GeoPackage ESRI Q1 2014 OGR/GDAL driver
Vector begonnen; eind dit jaar
Copyright Luciad – Bu sine ss Con fide ntia l
Toekomst
Integratie OGC standaarden
Bulk download WFS, WCS en WMTS Synchronizatie OWS-10 Data types Terrein Topologie Geometrie types Ellips bogen … Applicatie schema
Luciad – Bu sine ss Con fide ntia l