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=2216328
{
"features": [
{
"properties": {
"pk": "443212"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
4000005.59500391,
6495193.55676799
],
[
4083338.96719144,
6639531.19136284
],
[
4250005.7115665,
6639531.19136284
],
[
4333339.08375402,
6495193.55676799
],
[
4250005.7115665,
6350855.92217315
],
[
4083338.96719144,
6350855.92217315
],
[
4000005.59500391,
6495193.55676799
]
]
]
],
"type": "MultiPolygon"
}
}
],
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"type": "FeatureCollection"
}