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&dataset=642
{
"features": [
{
"properties": {
"pk": "442655"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
1500004.4293781,
4474466.67244017
],
[
1583337.80156563,
4618804.30703502
],
[
1750004.54594068,
4618804.30703502
],
[
1833337.91812821,
4474466.67244017
],
[
1750004.54594068,
4330129.03784533
],
[
1583337.80156563,
4330129.03784533
],
[
1500004.4293781,
4474466.67244017
]
]
]
],
"type": "MultiPolygon"
}
}
],
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"type": "FeatureCollection"
}