Download - Geo Package and OWS Context at FOSS4G PDX
![Page 1: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/1.jpg)
Update on New OGC Standards
GeoPackage and OWS Context
Luis Bermudez Director Compliance Program
OGC FOSS4G, Portland, Sept 10, 2014
© 2014 Open Geospatial Consortium
![Page 2: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/2.jpg)
Part I
![Page 3: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/3.jpg)
How do you share Geospatial data?
![Page 4: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/4.jpg)
ShapeFiles?
MyShapeFile.shp
MyShapeFile.shx
MyShapeFile.dbf
Simple! Since 1990
But …!
size max 2 GB !
multiple files !
no topological information !
field names max 10 character limit !
one kind of geometry per layer
![Page 5: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/5.jpg)
FileGDB?• Specific proprietary technology • Reverse Engineer efforts
https://github.com/rouault/dump_gdbtable/wiki/FGDB-Spec
![Page 6: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/6.jpg)
<KML> ?Is a visualization encoding
!
For viewing purposes !
A file with more than 15 mb can cause problems
…
![Page 7: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/7.jpg)
Maybe others…
Empire State Building NY NY,3,Long lines!Washington Square Park NY NY,4,Beautiful fountains!127 W. 28th Street NY NY,2,Nice brownstone!75 Washington Place NY NY,2,Short walk from park!Statue of Liberty NY NY,1,Inspirational
CSV
Spreadsheets
![Page 8: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/8.jpg)
What do we want?
http://www.spatiallyadjusted.com/2012/12/20/ogc-draft-geopackage-specification/
![Page 9: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/9.jpg)
![Page 10: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/10.jpg)
SQLite: Small, Fast, Reliable
![Page 11: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/11.jpg)
SQLite: Small, Fast, Reliable
http://www.sqlite.org
![Page 12: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/12.jpg)
Max Size of Geopackage File
http://www.sqlite.org/limits.html
![Page 13: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/13.jpg)
Vectors as Simple Features SQL
http://www.opengeospatial.org/resource/products/stats
![Page 14: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/14.jpg)
Vectors as Simple Features SQL
http://www.opengeospatial.org/resource/products/stats
![Page 15: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/15.jpg)
Vectors as Simple Features SQL
http://www.opengeospatial.org/resource/products/statsWidely implemented!
![Page 16: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/16.jpg)
Vectors as Simple Features SQL
ISO 19125-2:2004 Geographic information -- Simple feature access -- Part 2: SQL option
ISO 19125-1:2004 Geographic information -- Simple feature access -- Part 1: Common architecture
![Page 17: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/17.jpg)
Vectors as Simple Features SQL
ISO 19125-2:2004 Geographic information -- Simple feature access -- Part 2: SQL option
ISO 19125-1:2004 Geographic information -- Simple feature access -- Part 1: Common architecture
Widely recognized!
![Page 18: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/18.jpg)
Vectors as Simple Features
From Simple Feature Access - SQL (SFS)
![Page 19: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/19.jpg)
Vectors as Simple Features
From Simple Feature Access - SQL (SFS)
![Page 20: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/20.jpg)
Vectors as Simple Features
Well Known Binary (WKB) Geometries encoded in !Binary Large Objects (BLOBs)!
![Page 21: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/21.jpg)
Vectors as Simple FeaturesLinear 2D Geometries with optional elevation and measure values !XY XYZ XYM XYZM
![Page 22: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/22.jpg)
Simple Features in Tables1 geometry column per table
R*Tree indexes
![Page 23: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/23.jpg)
Support for Rasters/Tiles• Data model was implemented based on MBTiles
Specification.
• One file can store multiple raster and tile pyramid data sets in different tables or views.
![Page 24: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/24.jpg)
zoom level
zoom level
Coarser resolution
More detailed resolution
Array of tiles !for second level
![Page 25: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/25.jpg)
Tile Matrix
![Page 26: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/26.jpg)
Tile Data
![Page 27: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/27.jpg)
Raster
![Page 28: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/28.jpg)
Raster Metadata
![Page 29: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/29.jpg)
The OGC Process
Where is the living place of the document?
![Page 30: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/30.jpg)
![Page 31: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/31.jpg)
Nop
![Page 33: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/33.jpg)
![Page 34: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/34.jpg)
The OGC ProcessAbstract Tests
![Page 35: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/35.jpg)
The OGC ProcessAbstract Tests
Executable Test
![Page 36: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/36.jpg)
http://cite.opengeospatial.org/teamengine/
![Page 37: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/37.jpg)
http://cite.opengeospatial.org/teamengine/
Free Self Testing Facility
![Page 38: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/38.jpg)
The OGC Process
Where is the executable test suite?
![Page 39: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/39.jpg)
https://github.com/opengeospatial/ets-
geopackage10
![Page 40: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/40.jpg)
![Page 41: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/41.jpg)
More on Directions Magazine Webinar
http://vimeo.com/88285579
![Page 42: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/42.jpg)
Document Link
Version Document Title Number Type
1.0 OGC® GeoPackage Encoding Standard
12-128r10 IS
![Page 43: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/43.jpg)
Part II
![Page 44: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/44.jpg)
How do you easily share what you are viewing in your client, your annotations, cool layers you have put together?
![Page 45: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/45.jpg)
Multiple Layers from different WMSs
![Page 46: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/46.jpg)
Map with GML Annotations
![Page 47: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/47.jpg)
Map with SVG annotation
![Page 48: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/48.jpg)
OWS Context
![Page 49: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/49.jpg)
![Page 50: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/50.jpg)
WMTS Service
WCS Service
WPS Service
Geospatial file
GML
![Page 51: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/51.jpg)
WMTS Service
WCS Service
WPS Service
Geospatial file
GML
![Page 52: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/52.jpg)
WMTS Service
WCS Service
WPS Service
Geospatial file
GML
![Page 53: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/53.jpg)
WMTS Service
WCS Service
WPS Service
Geospatial file
GML
“hey, I have all the data
and have annotated the hurricane track. I will send you a … of the operational
picture”
![Page 54: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/54.jpg)
WMTS Service
WCS Service
WPS Service
Geospatial file
GML
<href>
<href> <href>
OWS Context Document
![Page 55: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/55.jpg)
WMTS Service
WCS Service
WPS Service
Geospatial file
GML
<href>
<href> <href>
OWS Context Document
![Page 56: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/56.jpg)
OWS Context in an atom feed
http://www.creaf.uab.es/hurricane-tomas.xml
…
…
…
…
![Page 57: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/57.jpg)
Works With Google Maps
https://maps.google.es/maps?q=http:%2F%2Fwww.creaf.uab.es%2Fhurricane-tomas.xml
![Page 58: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/58.jpg)
WFS Offering Example
![Page 59: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/59.jpg)
Anatomy of a context document
• Extends the Atom XML format!• Contains Atom <entries> which have OGC
<offering>s. • Offerings are data sources:
• Services (e.g. WMS, WFS, WMTS and WCS) • File-based data sets (e.g like GML, KML
and PDF). • File-based data sets may be specified by
reference with a URL, or included inline.
![Page 60: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/60.jpg)
Anatomy of a context document
• OGC service offerings contain a GetCapabilites request and a request to get data, such as GetMap, GetTiles, GetFeature, etc.
• Offerings do not have to be spatial, so clients implementing Context should handle non-spatial offerings in a way other than mapping them.
![Page 62: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/62.jpg)
https://github.com/opengeospatial/ets-
owc10
Executable !Test suite
![Page 63: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/63.jpg)
Document LinksVer Document Title # Type
1.0 OGC OWS Context Conceptual Model!
12-080r2
IS
1.0 OGC OWS Context Atom Encoding Standard
12-084r2
IS
OGC® OWS-10 Rules for JSON and GeoJSON Adoption: Focus on OWS-Context
14-009r1
PER
![Page 64: Geo Package and OWS Context at FOSS4G PDX](https://reader034.vdocuments.mx/reader034/viewer/2022051816/546f4f2fb4af9f220c8b4686/html5/thumbnails/64.jpg)
Final Thoughts• Let me know if you are interested in:
• advancing tests
• implementing reference implementations
• contributing to the specs!
• any other idea
Luis [email protected] Twitter @berdez