v1

latestOpenAPI 3.0.02026-07-2324040.7 KB
Instance data queries

Query end point for area queries of instance {instanceId} of collection {collectionId} defined by a polygon

get/ogc/collections/{collectionId}/instances/{instanceId}/area

Path parameters

collectionIdstring required

Identifier (id) of a specific collection

instanceIdstring required

Identifier (id) of a specific instance of a collection

Query parameters

coordsstring

Only data that has a geometry that intersects the area defined by the polygon are selected.

The polygon is defined using a Well Known Text string following

coords=POLYGON((x y, x1 y1, x2 y2,..., xn yn x y))

which are values in the coordinate system defined by the crs query parameter (if crs is not defined the values will be assumed to be WGS84 longitude/latitude coordinates).

For instance a polygon that roughly describes an area that contains South West England in WGS84 would look like:

coords=POLYGON((-6.1 50.3,-4.35 51.4,-2.6 51.6,-2.8 50.6,-5.3 49.9,-6.1,50.3))

See http://portal.opengeospatial.org/files/?artifact_id=25355 and https://en.wikipedia.org/wiki/Well-known_text_representation_of_geometry

The coords parameter will only support 2D POLYGON definitions

zstring
parameter-namestring
crsstring
datetimestring
fstring
resolution-xinteger

Defined it the user requires data at a different resolution from the native resolution of the data along the x-axis

If this is a single value it denotes the number of intervals to retrieve data for along the x-axis

i.e.resolution-x= 10

would retrieve 10 values along the x-axis from the minimum x coordinate to maximum x coordinate (i.e. a value at both the minimum x and maximum x coordinates and 8 values between).

resolution-yinteger

Response

Ok