Occurrence Grid
Process queries for HexGrid objects. Will be deprecated in future version :param request: HTTP GET request :return: JSON format of HexGrid (only pk and count) or GeoJSON of the geom of HexGrid.
GET /api/occurrence/grid/?type=occurrence&dataset=568
{
"type": "FeatureCollection",
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"features": [
{
"type": "Feature",
"properties": {
"pk": "442799"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
2250004.77906584,
-1443376.34594844
],
[
2333338.15125337,
-1299038.7113536
],
[
2500004.89562843,
-1299038.7113536
],
[
2583338.26781595,
-1443376.34594844
],
[
2500004.89562843,
-1587713.98054329
],
[
2333338.15125337,
-1587713.98054329
],
[
2250004.77906584,
-1443376.34594844
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "442800"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
2250004.77906584,
-1154701.07675875
],
[
2333338.15125337,
-1010363.44216391
],
[
2500004.89562843,
-1010363.44216391
],
[
2583338.26781595,
-1154701.07675875
],
[
2500004.89562843,
-1299038.7113536
],
[
2333338.15125337,
-1299038.7113536
],
[
2250004.77906584,
-1154701.07675875
]
]
]
]
}
}
]
}