Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Unify Earth Observation products access
with OpenSearch
Jérôme Gasperi
CEOS WGISS-35
INPE - Sao Paulo dos Campos, Brazil -...
What is Opensearch ?
http://www.opensearch.org
OpenSearch is a collection of simple formats for the sharing
of search results.
The OpenSearch description document format can be used
to describe a search engine so that it can be used by
search client...
Search results can be returned as HTML, Atom, RDF, KML,
json, etc.
OpenSearch description document
http://www.opensearch.org/Specifications/OpenSearch/1.1/Draft_5#OpenSearch_description_doc...
The OpenSearch description document provides a set of
URL templates which describe the query parameters
accepted by the se...
<?xml version="1.0" encoding="UTF-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/OpenSearch/1.1/">
<ShortName>Sea...
Output format is ATOM
<?xml version="1.0" encoding="UTF-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/OpenSearch...
Two main extensions - Time and Geospatial
time:start

geo:lat, geo:lon, geo:radius

time:end

geo:box
geo:geometry
geo:rel...
Real life Opensearch benefits
The GEO Geohazards Supersite example
#1

Search query are concises HTTP GET requests
Get products available here
<csw:GetRecords
xmlns:csw="http://www.opengis.net/cat/csw/2.0.2"
xmlns:ogc="http://www.opengis.net/ogc"
xmlns:gml="http://...
<csw:GetRecords
xmlns:csw="http://www.opengis.net/cat/csw/2.0.2"
xmlns:ogc="http://www.opengis.net/ogc"
xmlns:gml="http://...
<csw:GetRecords
xmlns:csw="http://www.opengis.net/cat/csw/2.0.2"
xmlns:ogc="http://www.opengis.net/ogc"
xmlns:gml="http://...
#2

HTML results can be indexed by search engine bots
Natural language search

OpenSearch request !
#3

ATOM results are easily handled by advanced clients
OpenSearch request !

Google maps
OpenSearch request !

mapshup
CNES activities on Opensearch
Land Surfaces Thematic center (PTSC)
"The objective of the Land Surface Thematic
Center is to facilitate the study of issues related to the
impact of anthropog...
To achieve this objective, the center will develop and make
available to the scientific community data, products,
processes...
PTSC by end of 2013

Landsat
South
France Hydroweb
Spirit

h

c
ear
S
pen
O

Land Surfaces
Portal

OpenSearch

POSTEL

~ 1...
Unify Earth Observation products access with OpenSearch
Unify Earth Observation products access with OpenSearch
Upcoming SlideShare
Loading in …5
×

Unify Earth Observation products access with OpenSearch

664 views

Published on

CEOS WGISS 35 - Sao Jose dos Campos, Brazil - 2013.05.08

OpenSearch applied to Earth Observations products

Published in: Technology
  • Hi ! The new version of google maps does not allow to copy/paste OpenSearch queries - To make it work, you need to switch to the old version of Google maps. To do so add "output=classic" parameter to the google maps url i.e. google.com/maps?output=classic
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • I just switched to the older version of google maps and it worked. thanks
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • I tried to check google maps on your query about Turkey, but it doesn't work. Did you extend the google maps by yourself?
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

Unify Earth Observation products access with OpenSearch

  1. 1. Unify Earth Observation products access with OpenSearch Jérôme Gasperi CEOS WGISS-35 INPE - Sao Paulo dos Campos, Brazil - May 8th, 2013
  2. 2. What is Opensearch ? http://www.opensearch.org
  3. 3. OpenSearch is a collection of simple formats for the sharing of search results.
  4. 4. The OpenSearch description document format can be used to describe a search engine so that it can be used by search client applications
  5. 5. Search results can be returned as HTML, Atom, RDF, KML, json, etc.
  6. 6. OpenSearch description document http://www.opensearch.org/Specifications/OpenSearch/1.1/Draft_5#OpenSearch_description_document
  7. 7. 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
  8. 8. <?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>admin@example.com</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>
  9. 9. Output format is ATOM <?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>admin@example.com</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 format is HTML Query parameters
  10. 10. Two main extensions - Time and Geospatial time:start geo:lat, geo:lon, geo:radius time:end geo:box geo:geometry geo:relation geo:name
  11. 11. Real life Opensearch benefits The GEO Geohazards Supersite example
  12. 12. #1 Search query are concises HTTP GET requests
  13. 13. Get products available here
  14. 14. <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 !
  15. 15. <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 !
  16. 16. <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 ! OpenSearch 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 ! http://eo-virtual-archive4.esa.int/search/ASA_IM__0P/atom/?bbox=25,26,41,41&startIndex=1&count=20
  17. 17. #2 HTML results can be indexed by search engine bots
  18. 18. Natural language search OpenSearch request !
  19. 19. #3 ATOM results are easily handled by advanced clients
  20. 20. OpenSearch request ! Google maps
  21. 21. OpenSearch request ! mapshup
  22. 22. CNES activities on Opensearch Land Surfaces Thematic center (PTSC)
  23. 23. "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." 
  24. 24. 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.
  25. 25. PTSC by end of 2013 Landsat South France Hydroweb Spirit h c ear S pen O Land Surfaces Portal OpenSearch POSTEL ~ 120 000 products CNES Kalideos Take5 METACATALOG CS W ISO CSW CIM France Very High resolution cover IGN GEOSUD ~1000 products

×