Methods
(inner) getCollections() → {array}
Fetches a list of (non-TEST) collections that exist in the STAC database
- Source:
Returns:
A list of collection IDs
- Type
- array
(inner) getTerrainData(item) → {object}
Fetches a GeoTIFF image object with elevation data covering the same area as a given STAC item
Parameters:
Name | Type | Description |
---|---|---|
item |
object | A STAC item |
- Source:
Returns:
GeoTIFF image with elevation data
- Type
- object
(inner) queryItem(item_id) → {object}
Fetches a single item from STAC API
Parameters:
Name | Type | Description |
---|---|---|
item_id |
string | An item's id |
- Source:
Returns:
The STAC item
- Type
- object
(async, inner) queryItems(coord, direction, collectionopt, limitopt) → {object}
Fetches any number of STAC API items based on location and
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
coord |
array | EPSG:25832 coordinate [x,y] of location that the items should cover | ||
direction |
string | Direction that the item images should be facing ['north', 'south', 'east', 'west', 'nadir'] | ||
collection |
string |
<optional> |
Collection from which to fetch the item(s) | |
limit |
number |
<optional> |
1 | Limits the number of returned results |
- Source:
Returns:
A featureCollection of STAC items
- Type
- object