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.
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.
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.
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
],
"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.
Whether to include the area of the features in square meters. If this is true, the response will contain a 'area_m2' field for each feature in Mollweide projection (ESRI:54009). If 'area_m2' column already exists in the dataset, this query will fail.
false
Page number. Results are limited to 500 per page. Defaults to 0.
0
Successful Response
Validation Error
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
}