Occurrence Grid
Process queries for HexGrid objects. Will be deprecated in future version :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=7910963
{
"type": "FeatureCollection",
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"features": [
{
"type": "Feature",
"properties": {
"pk": "441708"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-2749997.55218579,
1154701.07675875
],
[
-2666664.17999826,
1299038.7113536
],
[
-2499997.43562321,
1299038.7113536
],
[
-2416664.06343568,
1154701.07675875
],
[
-2499997.43562321,
1010363.44216391
],
[
-2666664.17999826,
1010363.44216391
],
[
-2749997.55218579,
1154701.07675875
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "442135"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-749996.619685135,
-2598077.4227072
],
[
-666663.247497608,
-2453739.78811235
],
[
-499996.503122553,
-2453739.78811235
],
[
-416663.130935026,
-2598077.4227072
],
[
-499996.503122553,
-2742415.05730204
],
[
-666663.247497608,
-2742415.05730204
],
[
-749996.619685135,
-2598077.4227072
]
]
]
]
}
}
]
}