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=2393121
{
"type": "FeatureCollection",
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"features": [
{
"type": "Feature",
"properties": {
"pk": "441604"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-3249997.78531095,
2886752.69189689
],
[
-3166664.41312342,
3031090.32649173
],
[
-2999997.66874837,
3031090.32649173
],
[
-2916664.29656084,
2886752.69189689
],
[
-2999997.66874837,
2742415.05730204
],
[
-3166664.41312342,
2742415.05730204
],
[
-3249997.78531095,
2886752.69189689
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "441659"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-2999997.66874837,
2742415.05730204
],
[
-2916664.29656084,
2886752.69189689
],
[
-2749997.55218579,
2886752.69189689
],
[
-2666664.17999826,
2742415.05730204
],
[
-2749997.55218579,
2598077.4227072
],
[
-2916664.29656084,
2598077.4227072
],
[
-2999997.66874837,
2742415.05730204
]
]
]
]
}
},
{
"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": "441715"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-2749997.55218579,
3175427.96108657
],
[
-2666664.17999826,
3319765.59568142
],
[
-2499997.43562321,
3319765.59568142
],
[
-2416664.06343568,
3175427.96108657
],
[
-2499997.43562321,
3031090.32649173
],
[
-2666664.17999826,
3031090.32649173
],
[
-2749997.55218579,
3175427.96108657
]
]
]
]
}
},
{
"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": "441771"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-2499997.43562321,
3319765.59568142
],
[
-2416664.06343568,
3464103.23027626
],
[
-2249997.31906062,
3464103.23027626
],
[
-2166663.9468731,
3319765.59568142
],
[
-2249997.31906062,
3175427.96108657
],
[
-2416664.06343568,
3175427.96108657
],
[
-2499997.43562321,
3319765.59568142
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "442577"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
1250004.31281552,
-2020726.88432782
],
[
1333337.68500304,
-1876389.24973297
],
[
1500004.4293781,
-1876389.24973297
],
[
1583337.80156563,
-2020726.88432782
],
[
1500004.4293781,
-2165064.51892266
],
[
1333337.68500304,
-2165064.51892266
],
[
1250004.31281552,
-2020726.88432782
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "442632"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
1500004.4293781,
-2165064.51892266
],
[
1583337.80156563,
-2020726.88432782
],
[
1750004.54594068,
-2020726.88432782
],
[
1833337.91812821,
-2165064.51892266
],
[
1750004.54594068,
-2309402.15351751
],
[
1583337.80156563,
-2309402.15351751
],
[
1500004.4293781,
-2165064.51892266
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "442633"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
1500004.4293781,
-1876389.24973297
],
[
1583337.80156563,
-1732051.61513813
],
[
1750004.54594068,
-1732051.61513813
],
[
1833337.91812821,
-1876389.24973297
],
[
1750004.54594068,
-2020726.88432782
],
[
1583337.80156563,
-2020726.88432782
],
[
1500004.4293781,
-1876389.24973297
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "442752"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
2000004.66250326,
721688.172974221
],
[
2083338.03469079,
866025.807569066
],
[
2250004.77906584,
866025.807569066
],
[
2333338.15125337,
721688.172974221
],
[
2250004.77906584,
577350.538379378
],
[
2083338.03469079,
577350.538379378
],
[
2000004.66250326,
721688.172974221
]
]
]
]
}
}
]
}