OWS Context SWG Demo 83rd OGC Technical Committee Redlands, CA USA Joan Masó (CREAF) January 14th, 2013 Copyright © 2013 Open Geospatial Consortium
OWS Context Document Communicating the context between clients OGC <href> <embbed> <href> The OWS Context document is a ….. That those …. Is good for … GML WPS Service WMTS Service WCS Service Geospatial file © 2012 Open Geospatial Consortium
Content of the context document A general feed description 2 entries A WMS offering <owc:offering code="http://www.opengis.net/spec/owc/1.0/req/atom/wms"> <owc:operation code="GetMap" href="http://services.envitia.com/envitia.bgmaps/wms.aspx? SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap& FORMAT=image/png&CRS=EPSG:4326&Layers=NaturalEarth &BBOX=-90.540890,-1.417726,-22.622864,33.238194& WIDTH=1920&HEIGHT=1148" method="GET"/> </owc:offering> GML embbeded data <owc:offering code="http://www.opengis.net/spec/owc/1.0/req/atom/gml"> <owc:content type="application/gml+xml"> <gml:FeatureCollection gml:id="1234567890” […] GML data is composed by 3 FeatureTypes: clk:al212010_position: gml:Point clk:al212010_track: gml:LineString clk:al212010_windswath: gml:Polygon Copyright © 2013 Open Geospatial Consortium
Context in a web browser (Opera) http://localhost/versiotreballdaniel/hurricane-tomas.xml Copyright © 2013 Open Geospatial Consortium
Copyright © 2013 Open Geospatial Consortium Google maps https://maps.google.es/maps?q=http:%2F%2Fwww.creaf.uab.es%2Fhurricane-tomas.xml You cannot show local files. Copyright © 2013 Open Geospatial Consortium
Copyright © 2013 Open Geospatial Consortium Bing maps Without GeoRSS in each entry With GeoRSS in each entry (edited duplicating the feed one) It supports reading files that are local drive Copyright © 2013 Open Geospatial Consortium
OWS Context document: project file for GIS apps. Copyright © 2013 Open Geospatial Consortium
OWS Context document loaded Copyright © 2013 Open Geospatial Consortium
Saving a context document for data exchange <?xml version="1.0" encoding="UTF-8"?> <feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gml="http://www.opengis.net/gml" xmlns:owc="http://www.opengis.net/owc/1.0" xml:lang="en"> <category scheme="http://www.opengis.net/spec/owc/specReference" term="http://www.opengis.net/spec/owc/1.0/req/atom" label="This file is compliant with version 1.0 of OGC Context"/> <id>http://www.miramon.uab.cat/owc/33e2468a-63f6-43e5-9289-57eb6eb2ce10</id> <title>Hurricane Tomas</title> <author> <name>Núria Julià</name> </author> <updated>2013-01-13T14:59:42Z</updated> <owc:display> <owc:pixelWidth>911</owc:pixelWidth> <owc:pixelHeight>412</owc:pixelHeight> </owc:display> <georss:where> <gml:Envelope srsName="EPSG:4326" srsDimension="2"> <gml:lowerCorner>-7.06180595697499 -105.890890028325</gml:lowerCorner> <gml:upperCorner>34.138194043025 -14.790890028325</gml:upperCorner> </gml:Envelope> </georss:where> <generator uri="http://www.creaf.uab.cat/MiraMon" version="v. 7.0o">MiraMon v. 7.0o © Xavier Pons. 1994-2012</generator> <entry> <id>http://www.miramon.uab.cat/owc/221077b3-c2a7-4388-82ec-a9f561c7bab0</id> <title>Natural Earth</title> <content type="text">NaturalEarth [http://services.envitia.com/envitia.bgmaps/wms.aspx?BGCOLOR=0xFFFFFF] Natural Earth image/png </content> <owc:offering code="http://www.opengis.net/spec/owc/1.0/conf/atom/wms"> <owc:operation code="GetCapabilities" method="GET" type="application/xml" href="http://services.envitia.com/envitia.bgmaps/wms.aspx?BGCOLOR=0xFFFFFF&VERSION=1.1.1&SERVICE=WMS&REQUEST=GetCapabilities"/> <owc:operation code="GetMap" method="GET" type="image/png" href="http://217.33.30.10/envitia.bgmaps/wms.aspx?VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&SERVICE=WMS&LAYERS=NaturalEarth&FORMAT=image/png&STYLES=&BBOX=-105.890890028325,-7.06180595697499,-14.790890028325,34.138194043025&WIDTH=911&HEIGHT=412&TRANSPARENT=TRUE"/> </owc:offering> <owc:minScaleDenominator>0</owc:minScaleDenominator> <owc:maxScaleDenominator>900000000</owc:maxScaleDenominator> </entry> </feed> It is not saving embbed GML yet Copyright © 2013 Open Geospatial Consortium
Context document in a web browser Copyright © 2013 Open Geospatial Consortium
Copyright © 2013 Open Geospatial Consortium Importing the WMS part. Copyright © 2013 Open Geospatial Consortium
Copyright © 2013 Open Geospatial Consortium
OWS Context created with the WMS layers <?xml version="1.0" encoding="UTF-8"?> <feed xml:lang="En"> <category label="This file is compliant with version 1.0 of OGC Context" scheme="http://www.opengis.net/spec/owc/specReference" term="http://www.opengis.net/spec/owc/1.0/req/atom"/> <id>http://localhost/versioTreballDaniel/::The World: Land Cover, Elevation and Political Boundaries</id> <title>The World: Land Cover, Elevation and Political Boundaries</title> <updated>2013-01-13T23:40:17.630Z</updated> <generator>MiraMap Navigator v.5.4</generator> <entry> <id>http://localhost/versioTreballDaniel/::[object Object]</id> <title>[object Object]</title> <content type="html">NDVI 1992-93, December</content> <owc:offering code="http://www.opengis.net/spec/owc/1.0/req/atom/wms"> <owc:operation code="GetCapabilities" href="http://www.opengis.uab.cat/cgi-bin/world/MiraMon.cgi?REQUEST=GetCapabilities&VERSION=1.1.1&SERVICE=WMS" method="GET"/> <owc:operation code="GetMap" href="http://www.opengis.uab.cat/cgi-bin/world/MiraMon.cgi?REQUEST=GetMap&VERSION=1.1.1&SERVICE=WMS&FORMAT=image/gif&TRANSPARENT=TRUE&CRS=EPSG:4236&LAYERS=NDVI9293dec-World&BBOX=-60.89021033333328,-52.27354366666665,13.764400666666678,18.056067333333328" method="GET"/> </owc:offering> </entry> <id>http://localhost/versioTreballDaniel/::ETOPO2 2'</id> <title>ETOPO2 2'</title> <content type="html">Digital Elevation Model (ETOPO2)</content> <owc:operation code="GetMap" href="http://www.opengis.uab.cat/cgi-bin/world/MiraMon.cgi?REQUEST=GetMap&VERSION=1.1.1&SERVICE=WMS&FORMAT=image/gif&TRANSPARENT=TRUE&CRS=EPSG:4236&LAYERS=ETOPO2-World&BBOX=-60.89021033333328,-52.27354366666665,13.764400666666678,18.056067333333328" method="GET"/> <id>http://localhost/versioTreballDaniel/::SRTM Shuttle Radar<br>Topography Mission 3"</id> <title>SRTM Shuttle Radar<br>Topography Mission 3"</title> <content type="html">Shuttle Radar Topography Mission (SRTM3)</content> <owc:operation code="GetMap" href="http://www.opengis.uab.cat/cgi-bin/world/MiraMon.cgi?REQUEST=GetMap&VERSION=1.1.1&SERVICE=WMS&FORMAT=image/gif&TRANSPARENT=TRUE&CRS=EPSG:4236&LAYERS=SRTM3-World&BBOX=-60.89021033333328,-52.27354366666665,13.764400666666678,18.056067333333328" method="GET"/> </feed> Copyright © 2013 Open Geospatial Consortium
Copyright © 2013 Open Geospatial Consortium owc2html Copyright © 2013 Open Geospatial Consortium
Copyright © 2013 Open Geospatial Consortium ows2html Copyright © 2013 Open Geospatial Consortium