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/?taxon=528
{
"features": [
{
"properties": {
"pk": "442685"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
1750004.54594068,
-2598077.4227072
],
[
1833337.91812821,
-2453739.78811235
],
[
2000004.66250326,
-2453739.78811235
],
[
2083338.03469079,
-2598077.4227072
],
[
2000004.66250326,
-2742415.05730204
],
[
1833337.91812821,
-2742415.05730204
],
[
1750004.54594068,
-2598077.4227072
]
]
]
],
"type": "MultiPolygon"
}
}
],
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"type": "FeatureCollection"
}