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=7773652
{
"features": [
{
"properties": {
"pk": "441550"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-3499997.90187353,
3031090.32649173
],
[
-3416664.529686,
3175427.96108657
],
[
-3249997.78531095,
3175427.96108657
],
[
-3166664.41312342,
3031090.32649173
],
[
-3249997.78531095,
2886752.69189689
],
[
-3416664.529686,
2886752.69189689
],
[
-3499997.90187353,
3031090.32649173
]
]
]
],
"type": "MultiPolygon"
}
}
],
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"type": "FeatureCollection"
}