geo package and ows context at foss4g pdx

64
Update on New OGC Standards GeoPackage and OWS Context Luis Bermudez Director Compliance Program OGC FOSS4G, Portland, Sept 10, 2014 © 2014 Open Geospatial Consortium

Upload: luis-bermudez

Post on 21-Nov-2014

481 views

Category:

Presentations & Public Speaking


2 download

DESCRIPTION

Presentation made at FOSS4G Portland, September 10, 2014 by Luis Bermudez about New OGC Standards: GeoPackage and OWS Context

TRANSCRIPT

Page 1: Geo Package and OWS Context at FOSS4G PDX

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

Part I

Page 3: Geo Package and OWS Context at FOSS4G PDX

How do you share Geospatial data?

Page 4: Geo Package and OWS Context at FOSS4G PDX

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

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

<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

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

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
Page 10: Geo Package and OWS Context at FOSS4G PDX

SQLite: Small, Fast, Reliable

Page 11: Geo Package and OWS Context at FOSS4G PDX

SQLite: Small, Fast, Reliable

http://www.sqlite.org

Page 12: Geo Package and OWS Context at FOSS4G PDX

Max Size of Geopackage File

http://www.sqlite.org/limits.html

Page 13: Geo Package and OWS Context at FOSS4G PDX

Vectors as Simple Features SQL

http://www.opengeospatial.org/resource/products/stats

Page 14: Geo Package and OWS Context at FOSS4G PDX

Vectors as Simple Features SQL

http://www.opengeospatial.org/resource/products/stats

Page 15: Geo Package and OWS Context at FOSS4G PDX

Vectors as Simple Features SQL

http://www.opengeospatial.org/resource/products/statsWidely implemented!

Page 16: Geo Package and OWS Context at FOSS4G PDX

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

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

Vectors as Simple Features

From Simple Feature Access - SQL (SFS)

Page 19: Geo Package and OWS Context at FOSS4G PDX

Vectors as Simple Features

From Simple Feature Access - SQL (SFS)

Page 20: Geo Package and OWS Context at FOSS4G PDX

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

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

Simple Features in Tables1 geometry column per table

R*Tree indexes

Page 23: Geo Package and OWS Context at FOSS4G PDX

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

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

Tile Matrix

Page 26: Geo Package and OWS Context at FOSS4G PDX

Tile Data

Page 27: Geo Package and OWS Context at FOSS4G PDX

Raster

Page 28: Geo Package and OWS Context at FOSS4G PDX

Raster Metadata

Page 29: Geo Package and OWS Context at FOSS4G PDX

The OGC Process

Where is the living place of the document?

Page 30: Geo Package and OWS Context at FOSS4G PDX
Page 31: Geo Package and OWS Context at FOSS4G PDX

Nop

Page 32: Geo Package and OWS Context at FOSS4G PDX

https://github.com/opengeospatial/

geopackage

Page 33: Geo Package and OWS Context at FOSS4G PDX
Page 34: Geo Package and OWS Context at FOSS4G PDX

The OGC ProcessAbstract Tests

Page 35: Geo Package and OWS Context at FOSS4G PDX

The OGC ProcessAbstract Tests

Executable Test

Page 36: Geo Package and OWS Context at FOSS4G PDX

http://cite.opengeospatial.org/teamengine/

Page 37: Geo Package and OWS Context at FOSS4G PDX

http://cite.opengeospatial.org/teamengine/

Free Self Testing Facility

Page 38: Geo Package and OWS Context at FOSS4G PDX

The OGC Process

Where is the executable test suite?

Page 39: Geo Package and OWS Context at FOSS4G PDX

https://github.com/opengeospatial/ets-

geopackage10

Page 40: Geo Package and OWS Context at FOSS4G PDX
Page 41: Geo Package and OWS Context at FOSS4G PDX

More on Directions Magazine Webinar

http://vimeo.com/88285579

Page 42: Geo Package and OWS Context at FOSS4G PDX

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

Part II

Page 44: Geo Package and OWS Context at FOSS4G PDX

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

Multiple Layers from different WMSs

Page 46: Geo Package and OWS Context at FOSS4G PDX

Map with GML Annotations

Page 47: Geo Package and OWS Context at FOSS4G PDX

Map with SVG annotation

Page 48: Geo Package and OWS Context at FOSS4G PDX

OWS Context

Page 49: Geo Package and OWS Context at FOSS4G PDX
Page 50: Geo Package and OWS Context at FOSS4G PDX

WMTS Service

WCS Service

WPS Service

Geospatial file

GML

Page 51: Geo Package and OWS Context at FOSS4G PDX

WMTS Service

WCS Service

WPS Service

Geospatial file

GML

Page 52: Geo Package and OWS Context at FOSS4G PDX

WMTS Service

WCS Service

WPS Service

Geospatial file

GML

Page 53: Geo Package and OWS Context at FOSS4G PDX

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

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

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

OWS Context in an atom feed

http://www.creaf.uab.es/hurricane-tomas.xml

Page 57: Geo Package and OWS Context at FOSS4G PDX

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

WFS Offering Example

Page 59: Geo Package and OWS Context at FOSS4G PDX

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

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 61: Geo Package and OWS Context at FOSS4G PDX

https://github.com/opengeospatial/

owscontext/

Page 62: Geo Package and OWS Context at FOSS4G PDX

https://github.com/opengeospatial/ets-

owc10

Executable !Test suite

Page 63: Geo Package and OWS Context at FOSS4G PDX

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

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