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/?taxon=2114710
{
"type": "FeatureCollection",
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"features": [
{
"type": "Feature",
"properties": {
"pk": "441236"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-4999998.60124902,
7649894.63352675
],
[
-4916665.22906149,
7794232.26812159
],
[
-4749998.48468644,
7794232.26812159
],
[
-4666665.11249891,
7649894.63352675
],
[
-4749998.48468644,
7505556.9989319
],
[
-4916665.22906149,
7505556.9989319
],
[
-4999998.60124902,
7649894.63352675
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "441645"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-2999997.66874837,
-1299038.7113536
],
[
-2916664.29656084,
-1154701.07675875
],
[
-2749997.55218579,
-1154701.07675875
],
[
-2666664.17999826,
-1299038.7113536
],
[
-2749997.55218579,
-1443376.34594844
],
[
-2916664.29656084,
-1443376.34594844
],
[
-2999997.66874837,
-1299038.7113536
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "441695"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-2749997.55218579,
-2598077.4227072
],
[
-2666664.17999826,
-2453739.78811235
],
[
-2499997.43562321,
-2453739.78811235
],
[
-2416664.06343568,
-2598077.4227072
],
[
-2499997.43562321,
-2742415.05730204
],
[
-2666664.17999826,
-2742415.05730204
],
[
-2749997.55218579,
-2598077.4227072
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "442397"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
500003.963127773,
-6495193.55676799
],
[
583337.3353153,
-6350855.92217315
],
[
750004.079690354,
-6350855.92217315
],
[
833337.451877881,
-6495193.55676799
],
[
750004.079690354,
-6639531.19136284
],
[
583337.3353153,
-6639531.19136284
],
[
500003.963127773,
-6495193.55676799
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "442451"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
750004.079690354,
-6639531.19136284
],
[
833337.451877881,
-6495193.55676799
],
[
1000004.19625294,
-6495193.55676799
],
[
1083337.56844046,
-6639531.19136284
],
[
1000004.19625294,
-6783868.82595768
],
[
833337.451877881,
-6783868.82595768
],
[
750004.079690354,
-6639531.19136284
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "442452"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
750004.079690354,
-6350855.92217315
],
[
833337.451877881,
-6206518.2875783
],
[
1000004.19625294,
-6206518.2875783
],
[
1083337.56844046,
-6350855.92217315
],
[
1000004.19625294,
-6495193.55676799
],
[
833337.451877881,
-6495193.55676799
],
[
750004.079690354,
-6350855.92217315
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "442506"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
1000004.19625294,
-6783868.82595768
],
[
1083337.56844046,
-6639531.19136284
],
[
1250004.31281552,
-6639531.19136284
],
[
1333337.68500304,
-6783868.82595768
],
[
1250004.31281552,
-6928206.46055252
],
[
1083337.56844046,
-6928206.46055252
],
[
1000004.19625294,
-6783868.82595768
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "443236"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
4250005.7115665,
-2309402.15351751
],
[
4333339.08375402,
-2165064.51892266
],
[
4500005.82812908,
-2165064.51892266
],
[
4583339.2003166,
-2309402.15351751
],
[
4500005.82812908,
-2453739.78811235
],
[
4333339.08375402,
-2453739.78811235
],
[
4250005.7115665,
-2309402.15351751
]
]
]
]
}
}
]
}