Presentation is loading. Please wait.

Presentation is loading. Please wait.

ECHO Open Search ECHO Technical Interchange 05/01/13 9:00am EST Doug Newman.

Similar presentations


Presentation on theme: "ECHO Open Search ECHO Technical Interchange 05/01/13 9:00am EST Doug Newman."— Presentation transcript:

1 ECHO Open Search ECHO Technical Interchange 05/01/13 9:00am EST Doug Newman

2 Another API? Standard Lightweight / Simple RESTful Low entry cost

3 Tools to follow along Firefox Rest Client add-on http://restclient.net/ Chrome Advanced Rest Client add-on https://chrome.google.com/webstore/detail/advanced-rest-client IE – on your own Command line curl

4 Things you need to know HTTP REST (GET) XML Atom

5 Open Search Descriptor Documents (1 of 2) http://api.echo.nasa.gov/opensearch-beta/ https://api.echo.nasa.gov/opensearch-beta/datasets/descriptor_document.xml?clientId=dug NASA ECHO Dataset Open Search Open Search compliant NASA ECHO Dataset search that responds in the ATOM format with Open Search, GeoRSS, Open Search Time and ECHO extensions. ESIP ECHO NASA echodev@echo.nasa.gov

6 Open Search Descriptor Documents (2 of 2) http://api.echo.nasa.gov/opensearch-beta/ https://api.echo.nasa.gov/opensearch-beta/granules/descriptor_document.xml?clientId=dug NASA ECHO Granule Search Open Search compliant NASA ECHO Granule search that responds in the ATOM format with Open Search, GeoRSS, Open Search Time and ECHO extensions. ESIP ECHO NASA granule echodev@echo.nasa.gov

7 Datasets https://api.echo.nasa.gov:443/opensearch-beta/datasets.atom 916 10 1 C1135-SEDAC...

8 Granules https://api.echo.nasa.gov:443/opensearch-beta/granules.atom 50321 10 1 G19324-ASF …

9 Links to interesting stuff More searching Data Metadata Documentation Browse

10 Search Parameters Free text os:searchTerms datasets.atom?keyword=MODIS Spatial geo:box, geo:geometry granules.atom?boundingBox=-180.0,-90.0,180.0,90.0 granules.atom?geometry=POINT (-5 -5) granules.atom?geometry=LINESTRING (5 5, 4 4) granules.atom?geometry=POLYGON ((30 10, 10 20, 40 40, 30 10)) Temporal time:startTime, time:endTime datasets.atom?startTime=2001-01-01T22:00:00Z datasets.atom?endTime=2001-01-01T22:00:00Z Traversing os:cursor, os:numberOfResults granules.atom?cursor=1&numberOfResults=10

11 ESIP compliance Open Search Geo extension for spatial Open Search Time extension for temporal

12 OGC compliance Search by unique id datasets.atom?uid=foo Search by place name granules.atom?placeName=washington, DC

13 Extras HTML rendering <os:Url type="text/html" indexOffset="0" template=”https://api.echo.nasa.gov/opensearch- beta/datasets.html?keyword={os:searchTerms?}&instrument={echo:ins trument?}&satellite={echo:satellite?}&boundingBox={georss:box?} &polygon={georss:polygon?}&line={echo:line?}&point={echo: point?}&startTime={time:start?}&endTime={time:end?}&curso r={os:startIndex?}&numberOfResults={os:count?}&clientId={echo: clientId>

14 Caveats (1 of 2) ‘Home made explosives can kill! Do not mix weed killer and sugar!’ ‘Don’t do this!’ granules.atom?geometry=POLYGON ((30 10, 10 20, 40 40, 30 10))&numberOfResults=1&cursor=GAZILLION

15 Caveats (2 of 2) No authentication Subset of ECHO search capability* No ordering**

16 Questions?


Download ppt "ECHO Open Search ECHO Technical Interchange 05/01/13 9:00am EST Doug Newman."

Similar presentations


Ads by Google