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=9657453
{
"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": "441763"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-2499997.43562321,
1010363.44216391
],
[
-2416664.06343568,
1154701.07675875
],
[
-2249997.31906062,
1154701.07675875
],
[
-2166663.9468731,
1010363.44216391
],
[
-2249997.31906062,
866025.807569066
],
[
-2416664.06343568,
866025.807569066
],
[
-2499997.43562321,
1010363.44216391
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "441975"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-1499996.96937288,
-1299038.7113536
],
[
-1416663.59718535,
-1154701.07675875
],
[
-1249996.8528103,
-1154701.07675875
],
[
-1166663.48062277,
-1299038.7113536
],
[
-1249996.8528103,
-1443376.34594844
],
[
-1416663.59718535,
-1443376.34594844
],
[
-1499996.96937288,
-1299038.7113536
]
]
]
]
}
},
{
"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
]
]
]
]
}
}
]
}