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=2509240
{
"features": [
{
"properties": {
"pk": "441824"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-2249997.31906062,
2886752.69189689
],
[
-2166663.9468731,
3031090.32649173
],
[
-1999997.20249804,
3031090.32649173
],
[
-1916663.83031052,
2886752.69189689
],
[
-1999997.20249804,
2742415.05730204
],
[
-2166663.9468731,
2742415.05730204
],
[
-2249997.31906062,
2886752.69189689
]
]
]
],
"type": "MultiPolygon"
}
}
],
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"type": "FeatureCollection"
}