Changes

Jump to: navigation, search

EODMS APIs

271 bytes added, 30 June
no edit summary
== REST API (Search) ==
Default result format is human-readable HTML. Appending <pre>&format=json' </pre> or <pre>'=xml' </pre> to the URL behaves as expected.
Each collection has a unique set of search fields here:
https://www.eodms-sgdot.nrcan-rncan.gc.ca/wes/rapi/collections/NAPL
SPATIAL (e.g. Ottawa)
<pre style="background-color:#EEFFCC; border-color:#AACC99">https://www.eodms-sgdot.nrcan-rncan.gc.ca/wes/rapi/search?collection=NAPL&query=CATALOG_IMAGE.THE_GEOM_4326%20INTERSECTS%20POLYGON%20((-76.06440000000001%2046.2587,%20-75.9843%2046.2592,%20-75.9843%2046.2261,%20-76.0634%2046.2256,%20-76.06440000000001%2046.2587))&format=json</pre>
TEMPORAL (timestamp e.g. 2000 - 2005)
<pre style="background-color:#EEFFCC; border-color:#AACC99">https://www.eodms-sgdot.nrcan-rncan.gc.ca/wes/rapi/search?collection=NAPL&query=CATALOG_IMAGE.START_DATETIME&gt;'2000-01-01' AND CATALOG_IMAGE.START_DATETIME&lt;'2005-01-01'</codepre>
CATALOG_IMAGE.PUBLIC_GOOD (boolean e.g. CATALOG_IMAGE.PUBLIC_GOOD)
<pre style="background-color:#EEFFCC; border-color:#AACC99">https://www.eodms-sgdot.nrcan-rncan.gc.ca/wes/rapi/search?collection=NAPL&query=CATALOG_IMAGE.PUBLIC_GOOD=TRUE</pre>
NAPL ROLL / PHOTO (string e.g. A128_0032)
<pre style="background-color:#EEFFCC; border-color:#AACC99">https://www.eodms-sgdot.nrcan-rncan.gc.ca/wes/rapi/search?collection=NAPL&query=ROLL.ROLL_NUMBER='A128' AND PHOTO.PHOTO_NUMBER='0032</pre>
== OpenSearch API (for RADARSAT-1 and NAPL) ==

Navigation menu

GCwiki