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=3377
{
"features": [
{
"properties": {
"pk": "442270"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-249996.386559972,
4618804.30703502
],
[
-166663.014372444,
4763141.94162986
],
[
3.73000261001289,
4763141.94162986
],
[
83337.1021901372,
4618804.30703502
],
[
3.73000261001289,
4474466.67244017
],
[
-166663.014372444,
4474466.67244017
],
[
-249996.386559972,
4618804.30703502
]
]
]
],
"type": "MultiPolygon"
}
}
],
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"type": "FeatureCollection"
}