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/?taxon=1190
{
"features": [
{
"properties": {
"pk": "442360"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
250003.846565192,
-1154701.07675875
],
[
333337.218752719,
-1010363.44216391
],
[
500003.963127773,
-1010363.44216391
],
[
583337.3353153,
-1154701.07675875
],
[
500003.963127773,
-1299038.7113536
],
[
333337.218752719,
-1299038.7113536
],
[
250003.846565192,
-1154701.07675875
]
]
]
],
"type": "MultiPolygon"
}
}
],
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"type": "FeatureCollection"
}