Occurrence Grid
Process queries for HexGrid objects.
: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=573
{
"features": [
{
"properties": {
"pk": "442799"
},
"type": "Feature",
"geometry": {
"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": "MultiPolygon"
}
}
],
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"type": "FeatureCollection"
}