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&taxon=7778788
{
"features": [
{
"properties": {
"pk": "442343"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
250003.846565192,
-6062180.65298346
],
[
333337.218752719,
-5917843.01838861
],
[
500003.963127773,
-5917843.01838861
],
[
583337.3353153,
-6062180.65298346
],
[
500003.963127773,
-6206518.2875783
],
[
333337.218752719,
-6206518.2875783
],
[
250003.846565192,
-6062180.65298346
]
]
]
],
"type": "MultiPolygon"
}
}
],
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"type": "FeatureCollection"
}