Queries
Get a single pixel value at a given pixel location.
Unique identifier for the dataset version
Variable to retrieve
Dimension indices in format 'dimension:index'. Can be specified multiple times for multiple dimensions.
Successful Response
Validation Error
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.
Unique identifier for the dataset version
Dimension for which all values will be returned. E.g. if dim is 'time', then all 'time' values for the given pixel and dimidx selection will be returned. dim can only be a dimension that's been optimized for, otherwise a 400 error is returned. All keys in dimidx together with dim need to specify all extra dimension of the dataset.
Variable to retrieve
Dimension indices in format 'dimension:index'. Can be specified multiple times for multiple dimensions.
Successful Response
Validation Error
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
]
}