Occurrence Grid
Process queries for HexGrid objects.
: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=8211
{
"features": [
{
"properties": {
"pk": "441272"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-4749998.48468644,
2309402.15351751
],
[
-4666665.11249891,
2453739.78811235
],
[
-4499998.36812386,
2453739.78811235
],
[
-4416664.99593633,
2309402.15351751
],
[
-4499998.36812386,
2165064.51892266
],
[
-4666665.11249891,
2165064.51892266
],
[
-4749998.48468644,
2309402.15351751
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441380"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-4249998.25156128,
1732051.61513813
],
[
-4166664.87937375,
1876389.24973297
],
[
-3999998.13499869,
1876389.24973297
],
[
-3916664.76281117,
1732051.61513813
],
[
-3999998.13499869,
1587713.98054329
],
[
-4166664.87937375,
1587713.98054329
],
[
-4249998.25156128,
1732051.61513813
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441381"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-4249998.25156128,
2020726.88432782
],
[
-4166664.87937375,
2165064.51892266
],
[
-3999998.13499869,
2165064.51892266
],
[
-3916664.76281117,
2020726.88432782
],
[
-3999998.13499869,
1876389.24973297
],
[
-4166664.87937375,
1876389.24973297
],
[
-4249998.25156128,
2020726.88432782
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441437"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-3999998.13499869,
2165064.51892266
],
[
-3916664.76281117,
2309402.15351751
],
[
-3749998.01843611,
2309402.15351751
],
[
-3666664.64624859,
2165064.51892266
],
[
-3749998.01843611,
2020726.88432782
],
[
-3916664.76281117,
2020726.88432782
],
[
-3999998.13499869,
2165064.51892266
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441438"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-3999998.13499869,
2453739.78811235
],
[
-3916664.76281117,
2598077.4227072
],
[
-3749998.01843611,
2598077.4227072
],
[
-3666664.64624859,
2453739.78811235
],
[
-3749998.01843611,
2309402.15351751
],
[
-3916664.76281117,
2309402.15351751
],
[
-3999998.13499869,
2453739.78811235
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441491"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-3749998.01843611,
2020726.88432782
],
[
-3666664.64624859,
2165064.51892266
],
[
-3499997.90187353,
2165064.51892266
],
[
-3416664.529686,
2020726.88432782
],
[
-3499997.90187353,
1876389.24973297
],
[
-3666664.64624859,
1876389.24973297
],
[
-3749998.01843611,
2020726.88432782
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441492"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-3749998.01843611,
2309402.15351751
],
[
-3666664.64624859,
2453739.78811235
],
[
-3499997.90187353,
2453739.78811235
],
[
-3416664.529686,
2309402.15351751
],
[
-3499997.90187353,
2165064.51892266
],
[
-3666664.64624859,
2165064.51892266
],
[
-3749998.01843611,
2309402.15351751
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441547"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-3499997.90187353,
2165064.51892266
],
[
-3416664.529686,
2309402.15351751
],
[
-3249997.78531095,
2309402.15351751
],
[
-3166664.41312342,
2165064.51892266
],
[
-3249997.78531095,
2020726.88432782
],
[
-3416664.529686,
2020726.88432782
],
[
-3499997.90187353,
2165064.51892266
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441709"
},
"type": "Feature",
"geometry": {
"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": "MultiPolygon"
}
},
{
"properties": {
"pk": "441767"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-2499997.43562321,
2165064.51892266
],
[
-2416664.06343568,
2309402.15351751
],
[
-2249997.31906062,
2309402.15351751
],
[
-2166663.9468731,
2165064.51892266
],
[
-2249997.31906062,
2020726.88432782
],
[
-2416664.06343568,
2020726.88432782
],
[
-2499997.43562321,
2165064.51892266
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441822"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-2249997.31906062,
2309402.15351751
],
[
-2166663.9468731,
2453739.78811235
],
[
-1999997.20249804,
2453739.78811235
],
[
-1916663.83031052,
2309402.15351751
],
[
-1999997.20249804,
2165064.51892266
],
[
-2166663.9468731,
2165064.51892266
],
[
-2249997.31906062,
2309402.15351751
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442483"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
750004.079690354,
2598077.4227072
],
[
833337.451877881,
2742415.05730204
],
[
1000004.19625294,
2742415.05730204
],
[
1083337.56844046,
2598077.4227072
],
[
1000004.19625294,
2453739.78811235
],
[
833337.451877881,
2453739.78811235
],
[
750004.079690354,
2598077.4227072
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442595"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
1250004.31281552,
3175427.96108657
],
[
1333337.68500304,
3319765.59568142
],
[
1500004.4293781,
3319765.59568142
],
[
1583337.80156563,
3175427.96108657
],
[
1500004.4293781,
3031090.32649173
],
[
1333337.68500304,
3031090.32649173
],
[
1250004.31281552,
3175427.96108657
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442751"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2000004.66250326,
433012.903784533
],
[
2083338.03469079,
577350.538379378
],
[
2250004.77906584,
577350.538379378
],
[
2333338.15125337,
433012.903784533
],
[
2250004.77906584,
288675.269189689
],
[
2083338.03469079,
288675.269189689
],
[
2000004.66250326,
433012.903784533
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442753"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2000004.66250326,
1010363.44216391
],
[
2083338.03469079,
1154701.07675875
],
[
2250004.77906584,
1154701.07675875
],
[
2333338.15125337,
1010363.44216391
],
[
2250004.77906584,
866025.807569066
],
[
2083338.03469079,
866025.807569066
],
[
2000004.66250326,
1010363.44216391
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442806"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2250004.77906584,
577350.538379378
],
[
2333338.15125337,
721688.172974221
],
[
2500004.89562843,
721688.172974221
],
[
2583338.26781595,
577350.538379378
],
[
2500004.89562843,
433012.903784533
],
[
2333338.15125337,
433012.903784533
],
[
2250004.77906584,
577350.538379378
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442808"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2250004.77906584,
1154701.07675875
],
[
2333338.15125337,
1299038.7113536
],
[
2500004.89562843,
1299038.7113536
],
[
2583338.26781595,
1154701.07675875
],
[
2500004.89562843,
1010363.44216391
],
[
2333338.15125337,
1010363.44216391
],
[
2250004.77906584,
1154701.07675875
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442916"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2750005.01219101,
577350.538379378
],
[
2833338.38437853,
721688.172974221
],
[
3000005.12875359,
721688.172974221
],
[
3083338.50094112,
577350.538379378
],
[
3000005.12875359,
433012.903784533
],
[
2833338.38437853,
433012.903784533
],
[
2750005.01219101,
577350.538379378
]
]
]
],
"type": "MultiPolygon"
}
}
],
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"type": "FeatureCollection"
}