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=9509005
{
"features": [
{
"properties": {
"pk": "443062"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3500005.36187875,
-5051817.21081955
],
[
3583338.73406628,
-4907479.5762247
],
[
3750005.47844133,
-4907479.5762247
],
[
3833338.85062886,
-5051817.21081955
],
[
3750005.47844133,
-5196154.84541439
],
[
3583338.73406628,
-5196154.84541439
],
[
3500005.36187875,
-5051817.21081955
]
]
]
],
"type": "MultiPolygon"
}
}
],
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"type": "FeatureCollection"
}