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=5191
{
"features": [
{
"properties": {
"pk": "441378"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-4249998.25156128,
1154701.07675875
],
[
-4166664.87937375,
1299038.7113536
],
[
-3999998.13499869,
1299038.7113536
],
[
-3916664.76281117,
1154701.07675875
],
[
-3999998.13499869,
1010363.44216391
],
[
-4166664.87937375,
1010363.44216391
],
[
-4249998.25156128,
1154701.07675875
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441435"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-3999998.13499869,
1587713.98054329
],
[
-3916664.76281117,
1732051.61513813
],
[
-3749998.01843611,
1732051.61513813
],
[
-3666664.64624859,
1587713.98054329
],
[
-3749998.01843611,
1443376.34594844
],
[
-3916664.76281117,
1443376.34594844
],
[
-3999998.13499869,
1587713.98054329
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441550"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-3499997.90187353,
3031090.32649173
],
[
-3416664.529686,
3175427.96108657
],
[
-3249997.78531095,
3175427.96108657
],
[
-3166664.41312342,
3031090.32649173
],
[
-3249997.78531095,
2886752.69189689
],
[
-3416664.529686,
2886752.69189689
],
[
-3499997.90187353,
3031090.32649173
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441600"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-3249997.78531095,
1732051.61513813
],
[
-3166664.41312342,
1876389.24973297
],
[
-2999997.66874837,
1876389.24973297
],
[
-2916664.29656084,
1732051.61513813
],
[
-2999997.66874837,
1587713.98054329
],
[
-3166664.41312342,
1587713.98054329
],
[
-3249997.78531095,
1732051.61513813
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441655"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-2999997.66874837,
1587713.98054329
],
[
-2916664.29656084,
1732051.61513813
],
[
-2749997.55218579,
1732051.61513813
],
[
-2666664.17999826,
1587713.98054329
],
[
-2749997.55218579,
1443376.34594844
],
[
-2916664.29656084,
1443376.34594844
],
[
-2999997.66874837,
1587713.98054329
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441656"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-2999997.66874837,
1876389.24973297
],
[
-2916664.29656084,
2020726.88432782
],
[
-2749997.55218579,
2020726.88432782
],
[
-2666664.17999826,
1876389.24973297
],
[
-2749997.55218579,
1732051.61513813
],
[
-2916664.29656084,
1732051.61513813
],
[
-2999997.66874837,
1876389.24973297
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441660"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-2999997.66874837,
3031090.32649173
],
[
-2916664.29656084,
3175427.96108657
],
[
-2749997.55218579,
3175427.96108657
],
[
-2666664.17999826,
3031090.32649173
],
[
-2749997.55218579,
2886752.69189689
],
[
-2916664.29656084,
2886752.69189689
],
[
-2999997.66874837,
3031090.32649173
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441708"
},
"type": "Feature",
"geometry": {
"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": "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": "441710"
},
"type": "Feature",
"geometry": {
"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": "MultiPolygon"
}
},
{
"properties": {
"pk": "441711"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-2749997.55218579,
2020726.88432782
],
[
-2666664.17999826,
2165064.51892266
],
[
-2499997.43562321,
2165064.51892266
],
[
-2416664.06343568,
2020726.88432782
],
[
-2499997.43562321,
1876389.24973297
],
[
-2666664.17999826,
1876389.24973297
],
[
-2749997.55218579,
2020726.88432782
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441763"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-2499997.43562321,
1010363.44216391
],
[
-2416664.06343568,
1154701.07675875
],
[
-2249997.31906062,
1154701.07675875
],
[
-2166663.9468731,
1010363.44216391
],
[
-2249997.31906062,
866025.807569066
],
[
-2416664.06343568,
866025.807569066
],
[
-2499997.43562321,
1010363.44216391
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441765"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-2499997.43562321,
1587713.98054329
],
[
-2416664.06343568,
1732051.61513813
],
[
-2249997.31906062,
1732051.61513813
],
[
-2166663.9468731,
1587713.98054329
],
[
-2249997.31906062,
1443376.34594844
],
[
-2416664.06343568,
1443376.34594844
],
[
-2499997.43562321,
1587713.98054329
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441766"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-2499997.43562321,
1876389.24973297
],
[
-2416664.06343568,
2020726.88432782
],
[
-2249997.31906062,
2020726.88432782
],
[
-2166663.9468731,
1876389.24973297
],
[
-2249997.31906062,
1732051.61513813
],
[
-2416664.06343568,
1732051.61513813
],
[
-2499997.43562321,
1876389.24973297
]
]
]
],
"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": "441770"
},
"type": "Feature",
"geometry": {
"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": "MultiPolygon"
}
},
{
"properties": {
"pk": "441771"
},
"type": "Feature",
"geometry": {
"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": "MultiPolygon"
}
},
{
"properties": {
"pk": "441877"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-1999997.20249804,
2165064.51892266
],
[
-1916663.83031052,
2309402.15351751
],
[
-1749997.08593546,
2309402.15351751
],
[
-1666663.71374793,
2165064.51892266
],
[
-1749997.08593546,
2020726.88432782
],
[
-1916663.83031052,
2020726.88432782
],
[
-1999997.20249804,
2165064.51892266
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441935"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-1749997.08593546,
3175427.96108657
],
[
-1666663.71374793,
3319765.59568142
],
[
-1499996.96937288,
3319765.59568142
],
[
-1416663.59718535,
3175427.96108657
],
[
-1499996.96937288,
3031090.32649173
],
[
-1666663.71374793,
3031090.32649173
],
[
-1749997.08593546,
3175427.96108657
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441989"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-1499996.96937288,
2742415.05730204
],
[
-1416663.59718535,
2886752.69189689
],
[
-1249996.8528103,
2886752.69189689
],
[
-1166663.48062277,
2742415.05730204
],
[
-1249996.8528103,
2598077.4227072
],
[
-1416663.59718535,
2598077.4227072
],
[
-1499996.96937288,
2742415.05730204
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442151"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-749996.619685135,
2020726.88432782
],
[
-666663.247497608,
2165064.51892266
],
[
-499996.503122553,
2165064.51892266
],
[
-416663.130935026,
2020726.88432782
],
[
-499996.503122553,
1876389.24973297
],
[
-666663.247497608,
1876389.24973297
],
[
-749996.619685135,
2020726.88432782
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442305"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3.73000261001289,
-1299038.7113536
],
[
83337.1021901372,
-1154701.07675875
],
[
250003.846565192,
-1154701.07675875
],
[
333337.218752719,
-1299038.7113536
],
[
250003.846565192,
-1443376.34594844
],
[
83337.1021901372,
-1443376.34594844
],
[
3.73000261001289,
-1299038.7113536
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442357"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
250003.846565192,
-2020726.88432782
],
[
333337.218752719,
-1876389.24973297
],
[
500003.963127773,
-1876389.24973297
],
[
583337.3353153,
-2020726.88432782
],
[
500003.963127773,
-2165064.51892266
],
[
333337.218752719,
-2165064.51892266
],
[
250003.846565192,
-2020726.88432782
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442359"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
250003.846565192,
-1443376.34594844
],
[
333337.218752719,
-1299038.7113536
],
[
500003.963127773,
-1299038.7113536
],
[
583337.3353153,
-1443376.34594844
],
[
500003.963127773,
-1587713.98054329
],
[
333337.218752719,
-1587713.98054329
],
[
250003.846565192,
-1443376.34594844
]
]
]
],
"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": "442804"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2250004.77906584,
0.0
],
[
2333338.15125337,
144337.634594845
],
[
2500004.89562843,
144337.634594845
],
[
2583338.26781595,
0.0
],
[
2500004.89562843,
-144337.634594844
],
[
2333338.15125337,
-144337.634594844
],
[
2250004.77906584,
0.0
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442983"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3000005.12875359,
3897116.13406079
],
[
3083338.50094112,
4041453.76865564
],
[
3250005.24531617,
4041453.76865564
],
[
3333338.6175037,
3897116.13406079
],
[
3250005.24531617,
3752778.49946595
],
[
3083338.50094112,
3752778.49946595
],
[
3000005.12875359,
3897116.13406079
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443024"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3250005.24531617,
0.0
],
[
3333338.6175037,
144337.634594845
],
[
3500005.36187875,
144337.634594845
],
[
3583338.73406628,
0.0
],
[
3500005.36187875,
-144337.634594844
],
[
3333338.6175037,
-144337.634594844
],
[
3250005.24531617,
0.0
]
]
]
],
"type": "MultiPolygon"
}
}
],
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"type": "FeatureCollection"
}