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=5660
{
"features": [
{
"properties": {
"pk": "441273"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-4749998.48468644,
2598077.4227072
],
[
-4666665.11249891,
2742415.05730204
],
[
-4499998.36812386,
2742415.05730204
],
[
-4416664.99593633,
2598077.4227072
],
[
-4499998.36812386,
2453739.78811235
],
[
-4666665.11249891,
2453739.78811235
],
[
-4749998.48468644,
2598077.4227072
]
]
]
],
"type": "MultiPolygon"
}
}
],
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"type": "FeatureCollection"
}