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=2681
{
"features": [
{
"properties": {
"pk": "441554"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-3499997.90187353,
4185791.40325048
],
[
-3416664.529686,
4330129.03784533
],
[
-3249997.78531095,
4330129.03784533
],
[
-3166664.41312342,
4185791.40325048
],
[
-3249997.78531095,
4041453.76865564
],
[
-3416664.529686,
4041453.76865564
],
[
-3499997.90187353,
4185791.40325048
]
]
]
],
"type": "MultiPolygon"
}
}
],
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"type": "FeatureCollection"
}