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=5194
{
"features": [
{
"properties": {
"pk": "441328"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-4499998.36812386,
2453739.78811235
],
[
-4416664.99593633,
2598077.4227072
],
[
-4249998.25156128,
2598077.4227072
],
[
-4166664.87937375,
2453739.78811235
],
[
-4249998.25156128,
2309402.15351751
],
[
-4416664.99593633,
2309402.15351751
],
[
-4499998.36812386,
2453739.78811235
]
]
]
],
"type": "MultiPolygon"
}
}
],
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"type": "FeatureCollection"
}