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=4901069
{
"features": [
{
"properties": {
"pk": "442954"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3000005.12875359,
-4474466.67244017
],
[
3083338.50094112,
-4330129.03784533
],
[
3250005.24531617,
-4330129.03784533
],
[
3333338.6175037,
-4474466.67244017
],
[
3250005.24531617,
-4618804.30703502
],
[
3083338.50094112,
-4618804.30703502
],
[
3000005.12875359,
-4474466.67244017
]
]
]
],
"type": "MultiPolygon"
}
}
],
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"type": "FeatureCollection"
}