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=2332471
{
"type": "FeatureCollection",
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"features": [
{
"type": "Feature",
"properties": {
"pk": "441488"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-3749998.01843611,
1154701.07675875
],
[
-3666664.64624859,
1299038.7113536
],
[
-3499997.90187353,
1299038.7113536
],
[
-3416664.529686,
1154701.07675875
],
[
-3499997.90187353,
1010363.44216391
],
[
-3666664.64624859,
1010363.44216391
],
[
-3749998.01843611,
1154701.07675875
]
]
]
]
}
},
{
"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": "441710"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-2749997.55218579,
1732051.61513813
],
[
-2666664.17999826,
1876389.24973297
],
[
-2499997.43562321,
1876389.24973297
],
[
-2416664.06343568,
1732051.61513813
],
[
-2499997.43562321,
1587713.98054329
],
[
-2666664.17999826,
1587713.98054329
],
[
-2749997.55218579,
1732051.61513813
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "441770"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-2499997.43562321,
3031090.32649173
],
[
-2416664.06343568,
3175427.96108657
],
[
-2249997.31906062,
3175427.96108657
],
[
-2166663.9468731,
3031090.32649173
],
[
-2249997.31906062,
2886752.69189689
],
[
-2416664.06343568,
2886752.69189689
],
[
-2499997.43562321,
3031090.32649173
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "441866"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-1999997.20249804,
-1010363.44216391
],
[
-1916663.83031052,
-866025.807569065
],
[
-1749997.08593546,
-866025.807569065
],
[
-1666663.71374793,
-1010363.44216391
],
[
-1749997.08593546,
-1154701.07675875
],
[
-1916663.83031052,
-1154701.07675875
],
[
-1999997.20249804,
-1010363.44216391
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "442151"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-749996.619685135,
2020726.88432782
],
[
-666663.247497608,
2165064.51892266
],
[
-499996.503122553,
2165064.51892266
],
[
-416663.130935026,
2020726.88432782
],
[
-499996.503122553,
1876389.24973297
],
[
-666663.247497608,
1876389.24973297
],
[
-749996.619685135,
2020726.88432782
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "442437"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
500003.963127773,
5051817.21081955
],
[
583337.3353153,
5196154.84541439
],
[
750004.079690354,
5196154.84541439
],
[
833337.451877881,
5051817.21081955
],
[
750004.079690354,
4907479.57622471
],
[
583337.3353153,
4907479.57622471
],
[
500003.963127773,
5051817.21081955
]
]
]
]
}
}
]
}