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=2345996
{
"features": [
{
"properties": {
"pk": "443090"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3500005.36187875,
3031090.32649173
],
[
3583338.73406628,
3175427.96108657
],
[
3750005.47844133,
3175427.96108657
],
[
3833338.85062886,
3031090.32649173
],
[
3750005.47844133,
2886752.69189689
],
[
3583338.73406628,
2886752.69189689
],
[
3500005.36187875,
3031090.32649173
]
]
]
],
"type": "MultiPolygon"
}
}
],
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"type": "FeatureCollection"
}