unify earth observation products access with opensearch

27
Jérôme Gasperi Unify Earth Observation products access with OpenSearch CEOS WGISS-35 INPE - Sao Paulo dos Campos, Brazil - May 8 th , 2013

Upload: gasperi-jerome

Post on 10-Jul-2015

196 views

Category:

Technology


0 download

TRANSCRIPT

Page 2: Unify Earth Observation products access with OpenSearch

What is Opensearch ?http://www.opensearch.org

Page 3: Unify Earth Observation products access with OpenSearch

OpenSearch is a collection of simple formats for the sharing of search results.

Page 5: Unify Earth Observation products access with OpenSearch

Search results can be returned as HTML, Atom, RDF, KML, json, etc.

Page 6: Unify Earth Observation products access with OpenSearch

OpenSearch description documenthttp://www.opensearch.org/Specifications/OpenSearch/1.1/Draft_5#OpenSearch_description_document

Page 7: Unify Earth Observation products access with OpenSearch

The OpenSearch description document provides a set of URL templates which describe the query parameters accepted by the service and the variety of output formats in which results can be obtained

Page 8: Unify Earth Observation products access with OpenSearch

<?xml version="1.0" encoding="UTF-8"?><OpenSearchDescription xmlns="http://a9.com/-/spec/OpenSearch/1.1/"> <ShortName>Search service</ShortName> <Description>My dummy search service</Description> <Tags>example search opensearch</Tags> <Contact>[email protected]</Contact> <Url type="application/atom+xml” template="http://example.com/?q={searchTerms}&amp;pw={startPage?}&amp;format=atom"/> <Url type="text/html” template="http://example.com/?q={searchTerms}&amp;pw={startPage?}&amp;format=html"/></OpenSearchDescription>

Page 9: Unify Earth Observation products access with OpenSearch

<?xml version="1.0" encoding="UTF-8"?><OpenSearchDescription xmlns="http://a9.com/-/spec/OpenSearch/1.1/"> <ShortName>Search service</ShortName> <Description>My dummy search service</Description> <Tags>example search opensearch</Tags> <Contact>[email protected]</Contact> <Url type="application/atom+xml” template="http://example.com/?q={searchTerms}&amp;pw={startPage?}&amp;format=atom"/> <Url type="text/html” template="http://example.com/?q={searchTerms}&amp;pw={startPage?}&amp;format=html"/></OpenSearchDescription>

Output formatis HTML

Query parameters

Output format is ATOM

Page 10: Unify Earth Observation products access with OpenSearch

Two main extensions - Time and Geospatialtime:starttime:end geo:box

geo:geometry

geo:relationgeo:name

geo:lat, geo:lon, geo:radius

Page 11: Unify Earth Observation products access with OpenSearch

Real life Opensearch benefitsThe GEO Geohazards Supersite example

Page 12: Unify Earth Observation products access with OpenSearch

Search query are concises HTTP GET requests#1

Page 13: Unify Earth Observation products access with OpenSearch

Get products available here

Page 14: Unify Earth Observation products access with OpenSearch
Page 15: Unify Earth Observation products access with OpenSearch

<csw:GetRecords xmlns:csw="http://www.opengis.net/cat/csw/2.0.2" xmlns:ogc="http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml" xmlns:rim="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" outputSchema="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" version="2.0.2" service="CSW" resultType="results" startPosition="1" maxRecords="20"> <csw:Query typeNames="rim:RegistryPackage rim:ExtrinsicObject"> <csw:ElementSetName typeNames="rim:RegistryPackage">full</csw:ElementSetName> <csw:Constraint version="1.1.0"> <ogc:Filter> <ogc:And> <ogc:PropertyIsEqualTo> <ogc:PropertyName>/rim:RegistryPackage/rim:RegistryObjectList[*]/rim:RegistryObject/@id</ogc:PropertyName> <ogc:PropertyName>/rim:ExtrinsicObject/@id</ogc:PropertyName> </ogc:PropertyIsEqualTo> <ogc:PropertyIsEqualTo> <ogc:PropertyName>/rim:ExtrinsicObject/@objectType</ogc:PropertyName> <ogc:Literal>urn:ogc:def:objectType:OGC-CSW-ebRIM-EO::EOProduct</ogc:Literal> </ogc:PropertyIsEqualTo> <ogc:BBOX> <ogc:PropertyName> /rim:ExtrinsicObject/rim:Slot[@name="urn:ogc:def:slot:OGC-CSW-ebRIM-EO::multiExtentOf"]/wrs:ValueList/wrs:AnyValue[1] </ogc:PropertyName> <Envelope xmlns="http://www.opengis.net/gml" xmlns:xlink="http://www.w3.org/1999/xlink" srsName="EPSG:4326"> <lowerCorner>-23.8 -47.3</lowerCorner> <upperCorner>-23.2 -45.5</upperCorner> </Envelope> </ogc:BBOX> </ogc:And> </ogc:Filter> </csw:Constraint> </csw:Query> </csw:GetRecords>

HMA This in an HTTP POST request - i.e. no link possible !

Page 16: Unify Earth Observation products access with OpenSearch

<csw:GetRecords xmlns:csw="http://www.opengis.net/cat/csw/2.0.2" xmlns:ogc="http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml" xmlns:rim="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" outputSchema="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" version="2.0.2" service="CSW" resultType="results" startPosition="1" maxRecords="20"> <csw:Query typeNames="rim:RegistryPackage rim:ExtrinsicObject"> <csw:ElementSetName typeNames="rim:RegistryPackage">full</csw:ElementSetName> <csw:Constraint version="1.1.0"> <ogc:Filter> <ogc:And> <ogc:PropertyIsEqualTo> <ogc:PropertyName>/rim:RegistryPackage/rim:RegistryObjectList[*]/rim:RegistryObject/@id</ogc:PropertyName> <ogc:PropertyName>/rim:ExtrinsicObject/@id</ogc:PropertyName> </ogc:PropertyIsEqualTo> <ogc:PropertyIsEqualTo> <ogc:PropertyName>/rim:ExtrinsicObject/@objectType</ogc:PropertyName> <ogc:Literal>urn:ogc:def:objectType:OGC-CSW-ebRIM-EO::EOProduct</ogc:Literal> </ogc:PropertyIsEqualTo> <ogc:BBOX> <ogc:PropertyName> /rim:ExtrinsicObject/rim:Slot[@name="urn:ogc:def:slot:OGC-CSW-ebRIM-EO::multiExtentOf"]/wrs:ValueList/wrs:AnyValue[1] </ogc:PropertyName> <Envelope xmlns="http://www.opengis.net/gml" xmlns:xlink="http://www.w3.org/1999/xlink" srsName="EPSG:4326"> <lowerCorner>-23.8 -47.3</lowerCorner> <upperCorner>-23.2 -45.5</upperCorner> </Envelope> </ogc:BBOX> </ogc:And> </ogc:Filter> </csw:Constraint> </csw:Query> </csw:GetRecords>

HMA This in an HTTP POST request - i.e. no link possible !

<GetRecords xmlns="http://www.opengis.net/cat/csw/2.0.2" xmlns:csw="http://www.opengis.net/cat/csw/2.0.2" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:ogc="http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/cat/csw/2.0.2 http://schemas.opengis.net/csw/2.0.2/CSW-discovery.xsd" service="CSW" version="2.0.2" resultType="results" outputSchema="http://www.opengis.net/cat/csw/2.0.2" startPosition="1" maxRecords="20"> <Query typeNames="csw:Record"> <ElementSetName typeNames="csw:Record">full</ElementSetName> <Constraint version="1.1.0"> <ogc:Filter> <ogc:And> <ogc:PropertyIsEqualTo> <ogc:PropertyName>dc:subject</ogc:PropertyName> <ogc:Literal>dc8capac</ogc:Literal> </ogc:PropertyIsEqualTo> <ogc:BBOX> <ogc:PropertyName> ows:BoundingBox </ogc:PropertyName> <gml:Envelope srsName="EPSG:4326"> <gml:lowerCorner>-23.8 -47.3</gml:lowerCorner> <gml:upperCorner>-23.2 -45.5</gml:upperCorner> </gml:Envelope> </ogc:BBOX> </ogc:And> </ogc:Filter> </Constraint> </Query></GetRecords>

CWIC This in an HTTP POST request - i.e. no link possible !

Page 17: Unify Earth Observation products access with OpenSearch

<csw:GetRecords xmlns:csw="http://www.opengis.net/cat/csw/2.0.2" xmlns:ogc="http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml" xmlns:rim="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" outputSchema="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" version="2.0.2" service="CSW" resultType="results" startPosition="1" maxRecords="20"> <csw:Query typeNames="rim:RegistryPackage rim:ExtrinsicObject"> <csw:ElementSetName typeNames="rim:RegistryPackage">full</csw:ElementSetName> <csw:Constraint version="1.1.0"> <ogc:Filter> <ogc:And> <ogc:PropertyIsEqualTo> <ogc:PropertyName>/rim:RegistryPackage/rim:RegistryObjectList[*]/rim:RegistryObject/@id</ogc:PropertyName> <ogc:PropertyName>/rim:ExtrinsicObject/@id</ogc:PropertyName> </ogc:PropertyIsEqualTo> <ogc:PropertyIsEqualTo> <ogc:PropertyName>/rim:ExtrinsicObject/@objectType</ogc:PropertyName> <ogc:Literal>urn:ogc:def:objectType:OGC-CSW-ebRIM-EO::EOProduct</ogc:Literal> </ogc:PropertyIsEqualTo> <ogc:BBOX> <ogc:PropertyName> /rim:ExtrinsicObject/rim:Slot[@name="urn:ogc:def:slot:OGC-CSW-ebRIM-EO::multiExtentOf"]/wrs:ValueList/wrs:AnyValue[1] </ogc:PropertyName> <Envelope xmlns="http://www.opengis.net/gml" xmlns:xlink="http://www.w3.org/1999/xlink" srsName="EPSG:4326"> <lowerCorner>-23.8 -47.3</lowerCorner> <upperCorner>-23.2 -45.5</upperCorner> </Envelope> </ogc:BBOX> </ogc:And> </ogc:Filter> </csw:Constraint> </csw:Query> </csw:GetRecords>

HMA This in an HTTP POST request - i.e. no link possible !

http://eo-virtual-archive4.esa.int/search/ASA_IM__0P/atom/?bbox=25,26,41,41&startIndex=1&count=20OpenSearch This is an HTTP GET request - i.e. this is a link !

<GetRecords xmlns="http://www.opengis.net/cat/csw/2.0.2" xmlns:csw="http://www.opengis.net/cat/csw/2.0.2" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:ogc="http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/cat/csw/2.0.2 http://schemas.opengis.net/csw/2.0.2/CSW-discovery.xsd" service="CSW" version="2.0.2" resultType="results" outputSchema="http://www.opengis.net/cat/csw/2.0.2" startPosition="1" maxRecords="20"> <Query typeNames="csw:Record"> <ElementSetName typeNames="csw:Record">full</ElementSetName> <Constraint version="1.1.0"> <ogc:Filter> <ogc:And> <ogc:PropertyIsEqualTo> <ogc:PropertyName>dc:subject</ogc:PropertyName> <ogc:Literal>dc8capac</ogc:Literal> </ogc:PropertyIsEqualTo> <ogc:BBOX> <ogc:PropertyName> ows:BoundingBox </ogc:PropertyName> <gml:Envelope srsName="EPSG:4326"> <gml:lowerCorner>-23.8 -47.3</gml:lowerCorner> <gml:upperCorner>-23.2 -45.5</gml:upperCorner> </gml:Envelope> </ogc:BBOX> </ogc:And> </ogc:Filter> </Constraint> </Query></GetRecords>

CWIC This in an HTTP POST request - i.e. no link possible !

Page 18: Unify Earth Observation products access with OpenSearch

HTML results can be indexed by search engine bots#2

Page 19: Unify Earth Observation products access with OpenSearch

Natural language search

OpenSearch request !

Page 20: Unify Earth Observation products access with OpenSearch

ATOM results are easily handled by advanced clients#3

Page 21: Unify Earth Observation products access with OpenSearch

OpenSearch request !

Google maps

Page 22: Unify Earth Observation products access with OpenSearch

OpenSearch request !

mapshup

Page 23: Unify Earth Observation products access with OpenSearch

CNES activities on OpensearchLand Surfaces Thematic center (PTSC)

Page 24: Unify Earth Observation products access with OpenSearch

"The objective of the Land Surface Thematic Center is to facilitate the study of issues related to the impact of anthropogenic pressures on climate and ecosystems, quantify and model the water cycle and carbon monitoring developments of societies and their activities, understand the dynamics of biodiversity." 

Page 25: Unify Earth Observation products access with OpenSearch

To achieve this objective, the center will develop and make available to the scientific community data, products, processes and services related to the observation from space land surfaces.

Page 26: Unify Earth Observation products access with OpenSearch

CNES

METACATALOG

GEOSUD

Kalideos

Land Surfaces Portal

POSTELSpirit

Hydroweb

Landsat South France

IGN

Take5

PTSC by end of 2013

~1000 productsFrance Very High resolution cover

~ 120 000 products

OpenSearch

OpenSearch

CSW ISO

CSW CIM

Page 27: Unify Earth Observation products access with OpenSearch