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&dataset=723
{
"type": "FeatureCollection",
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"features": [
{
"type": "Feature",
"properties": {
"pk": "441489"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-3749998.01843611,
1443376.34594844
],
[
-3666664.64624859,
1587713.98054329
],
[
-3499997.90187353,
1587713.98054329
],
[
-3416664.529686,
1443376.34594844
],
[
-3499997.90187353,
1299038.7113536
],
[
-3666664.64624859,
1299038.7113536
],
[
-3749998.01843611,
1443376.34594844
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "441544"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-3499997.90187353,
1299038.7113536
],
[
-3416664.529686,
1443376.34594844
],
[
-3249997.78531095,
1443376.34594844
],
[
-3166664.41312342,
1299038.7113536
],
[
-3249997.78531095,
1154701.07675875
],
[
-3416664.529686,
1154701.07675875
],
[
-3499997.90187353,
1299038.7113536
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "441599"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-3249997.78531095,
1443376.34594844
],
[
-3166664.41312342,
1587713.98054329
],
[
-2999997.66874837,
1587713.98054329
],
[
-2916664.29656084,
1443376.34594844
],
[
-2999997.66874837,
1299038.7113536
],
[
-3166664.41312342,
1299038.7113536
],
[
-3249997.78531095,
1443376.34594844
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "441654"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-2999997.66874837,
1299038.7113536
],
[
-2916664.29656084,
1443376.34594844
],
[
-2749997.55218579,
1443376.34594844
],
[
-2666664.17999826,
1299038.7113536
],
[
-2749997.55218579,
1154701.07675875
],
[
-2916664.29656084,
1154701.07675875
],
[
-2999997.66874837,
1299038.7113536
]
]
]
]
}
},
{
"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": "441764"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-2499997.43562321,
1299038.7113536
],
[
-2416664.06343568,
1443376.34594844
],
[
-2249997.31906062,
1443376.34594844
],
[
-2166663.9468731,
1299038.7113536
],
[
-2249997.31906062,
1154701.07675875
],
[
-2416664.06343568,
1154701.07675875
],
[
-2499997.43562321,
1299038.7113536
]
]
]
]
}
}
]
}