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=152
{
"type": "FeatureCollection",
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"features": [
{
"type": "Feature",
"properties": {
"pk": "441593"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-3249997.78531095,
-288675.269189688
],
[
-3166664.41312342,
-144337.634594844
],
[
-2999997.66874837,
-144337.634594844
],
[
-2916664.29656084,
-288675.269189688
],
[
-2999997.66874837,
-433012.903784532
],
[
-3166664.41312342,
-433012.903784532
],
[
-3249997.78531095,
-288675.269189688
]
]
]
]
}
},
{
"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": "441709"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-2749997.55218579,
1443376.34594844
],
[
-2666664.17999826,
1587713.98054329
],
[
-2499997.43562321,
1587713.98054329
],
[
-2416664.06343568,
1443376.34594844
],
[
-2499997.43562321,
1299038.7113536
],
[
-2666664.17999826,
1299038.7113536
],
[
-2749997.55218579,
1443376.34594844
]
]
]
]
}
},
{
"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": "442487"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
750004.079690354,
3752778.49946595
],
[
833337.451877881,
3897116.13406079
],
[
1000004.19625294,
3897116.13406079
],
[
1083337.56844046,
3752778.49946595
],
[
1000004.19625294,
3608440.86487111
],
[
833337.451877881,
3608440.86487111
],
[
750004.079690354,
3752778.49946595
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "442590"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
1250004.31281552,
1732051.61513813
],
[
1333337.68500304,
1876389.24973297
],
[
1500004.4293781,
1876389.24973297
],
[
1583337.80156563,
1732051.61513813
],
[
1500004.4293781,
1587713.98054329
],
[
1333337.68500304,
1587713.98054329
],
[
1250004.31281552,
1732051.61513813
]
]
]
]
}
}
]
}