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=4341596
{
"features": [
{
"properties": {
"pk": "442880"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2500004.89562843,
5917843.01838861
],
[
2583338.26781595,
6062180.65298346
],
[
2750005.01219101,
6062180.65298346
],
[
2833338.38437853,
5917843.01838861
],
[
2750005.01219101,
5773505.38379377
],
[
2583338.26781595,
5773505.38379377
],
[
2500004.89562843,
5917843.01838861
]
]
]
],
"type": "MultiPolygon"
}
}
],
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"type": "FeatureCollection"
}