Queries
Get a single pixel value at a given pixel location.
Variable to retrieve
Viewer's zoom level. If specified, searches for the pixel value within a small radius around the given lon/lat. Defaults to None, which means exact matching only.
Dimension indices in format 'dimension:index'. Can be specified multiple times for multiple dimensions.
GET /v1/raster/{dataset_version_id}/pixels/{lon}/{lat}?api_key=text&variable=text HTTP/1.1
Host:
Accept: */*
{
"dimension_selection": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"value": 1
}
Get all pixel values for a given dimension and pixel location.
Variable to retrieve
Viewer's zoom level. If specified, searches for the pixel value within a small radius around the given lon/lat. Defaults to None, which means exact matching only.
Page number. Results are limited to 500 per page. Defaults to 0.
0
Dimension indices in format 'dimension:index'. Can be specified multiple times for multiple dimensions.
GET /v1/raster/{dataset_version_id}/pixels/{lon}/{lat}/{dim}?api_key=text&variable=text HTTP/1.1
Host:
Accept: */*
{
"dimension": "text",
"dimension_selection": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"values": [
1
],
"page_size": 500
}
Viewer's zoom level. If specified, searches for the pixel value within a small radius around the given lon/lat. Defaults to None, which means exact matching only.
Page number. Results are limited to 500 per page. Defaults to 0.
0
GET /v1/vector/{dataset_version_id}/point/{lon}/{lat}?api_key=text HTTP/1.1
Host:
Accept: */*
{
"feature_collection": {
"bbox": [],
"type": "text",
"features": [
{
"bbox": [],
"type": "text",
"geometry": {
"bbox": [],
"type": "text",
"coordinates": []
},
"properties": {},
"id": 1
}
]
},
"page_size": 500
}