More Related Content Similar to Unify Earth Observation products access with OpenSearch (20) More from Gasperi Jerome (20) Unify Earth Observation products access with OpenSearch1. Unify Earth Observation products access
with OpenSearch
Jérôme Gasperi
CEOS WGISS-35
INPE - Sao Paulo dos Campos, Brazil - May 8th, 2013
3. OpenSearch is a collection of simple formats for the sharing
of search results.
4. The OpenSearch description document format can be used
to describe a search engine so that it can be used by
search client applications
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. <?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}&pw={startPage?}
&format=atom"/>
<Url type="text/html” template="http://example.com/?q={searchTerms}&pw={startPage?}&format=html"/>
</OpenSearchDescription>
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}&pw={startPage?}
&format=atom"/>
<Url type="text/html” template="http://example.com/?q={searchTerms}&pw={startPage?}&format=html"/>
</OpenSearchDescription>
Output format
is HTML
Query parameters
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
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 !
<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 !
17. <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
24. "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."
25. 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.
26. 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