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=2114827
{
"features": [
{
"properties": {
"pk": "441330"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-4499998.36812386,
3031090.32649173
],
[
-4416664.99593633,
3175427.96108657
],
[
-4249998.25156128,
3175427.96108657
],
[
-4166664.87937375,
3031090.32649173
],
[
-4249998.25156128,
2886752.69189689
],
[
-4416664.99593633,
2886752.69189689
],
[
-4499998.36812386,
3031090.32649173
]
]
]
],
"type": "MultiPolygon"
}
}
],
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"type": "FeatureCollection"
}