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/?taxon=1400
{
"features": [
{
"properties": {
"pk": "441105"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-5499998.83437418,
1587713.98054329
],
[
-5416665.46218666,
1732051.61513813
],
[
-5249998.7178116,
1732051.61513813
],
[
-5166665.34562408,
1587713.98054329
],
[
-5249998.7178116,
1443376.34594844
],
[
-5416665.46218666,
1443376.34594844
],
[
-5499998.83437418,
1587713.98054329
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441159"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-5249998.7178116,
1443376.34594844
],
[
-5166665.34562408,
1587713.98054329
],
[
-4999998.60124902,
1587713.98054329
],
[
-4916665.22906149,
1443376.34594844
],
[
-4999998.60124902,
1299038.7113536
],
[
-5166665.34562408,
1299038.7113536
],
[
-5249998.7178116,
1443376.34594844
]
]
]
],
"type": "MultiPolygon"
}
},
{
"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": "441434"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-3999998.13499869,
1299038.7113536
],
[
-3916664.76281117,
1443376.34594844
],
[
-3749998.01843611,
1443376.34594844
],
[
-3666664.64624859,
1299038.7113536
],
[
-3749998.01843611,
1154701.07675875
],
[
-3916664.76281117,
1154701.07675875
],
[
-3999998.13499869,
1299038.7113536
]
]
]
],
"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": "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": "441489"
},
"type": "Feature",
"geometry": {
"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": "MultiPolygon"
}
},
{
"properties": {
"pk": "441490"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-3749998.01843611,
1732051.61513813
],
[
-3666664.64624859,
1876389.24973297
],
[
-3499997.90187353,
1876389.24973297
],
[
-3416664.529686,
1732051.61513813
],
[
-3499997.90187353,
1587713.98054329
],
[
-3666664.64624859,
1587713.98054329
],
[
-3749998.01843611,
1732051.61513813
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441599"
},
"type": "Feature",
"geometry": {
"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": "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": "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": "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": "442000"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-1499996.96937288,
5917843.01838861
],
[
-1416663.59718535,
6062180.65298346
],
[
-1249996.8528103,
6062180.65298346
],
[
-1166663.48062277,
5917843.01838861
],
[
-1249996.8528103,
5773505.38379377
],
[
-1416663.59718535,
5773505.38379377
],
[
-1499996.96937288,
5917843.01838861
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442054"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-1249996.8528103,
5773505.38379377
],
[
-1166663.48062277,
5917843.01838861
],
[
-999996.736247716,
5917843.01838861
],
[
-916663.364060189,
5773505.38379377
],
[
-999996.736247716,
5629167.74919893
],
[
-1166663.48062277,
5629167.74919893
],
[
-1249996.8528103,
5773505.38379377
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442081"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-999996.736247716,
-2453739.78811235
],
[
-916663.364060189,
-2309402.15351751
],
[
-749996.619685135,
-2309402.15351751
],
[
-666663.247497608,
-2453739.78811235
],
[
-749996.619685135,
-2598077.4227072
],
[
-916663.364060189,
-2598077.4227072
],
[
-999996.736247716,
-2453739.78811235
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442158"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-749996.619685135,
4041453.76865564
],
[
-666663.247497608,
4185791.40325048
],
[
-499996.503122553,
4185791.40325048
],
[
-416663.130935026,
4041453.76865564
],
[
-499996.503122553,
3897116.13406079
],
[
-666663.247497608,
3897116.13406079
],
[
-749996.619685135,
4041453.76865564
]
]
]
],
"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": "442358"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
250003.846565192,
-1732051.61513813
],
[
333337.218752719,
-1587713.98054329
],
[
500003.963127773,
-1587713.98054329
],
[
583337.3353153,
-1732051.61513813
],
[
500003.963127773,
-1876389.24973297
],
[
333337.218752719,
-1876389.24973297
],
[
250003.846565192,
-1732051.61513813
]
]
]
],
"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": "442411"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
500003.963127773,
-2453739.78811235
],
[
583337.3353153,
-2309402.15351751
],
[
750004.079690354,
-2309402.15351751
],
[
833337.451877881,
-2453739.78811235
],
[
750004.079690354,
-2598077.4227072
],
[
583337.3353153,
-2598077.4227072
],
[
500003.963127773,
-2453739.78811235
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442457"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
750004.079690354,
-4907479.5762247
],
[
833337.451877881,
-4763141.94162986
],
[
1000004.19625294,
-4763141.94162986
],
[
1083337.56844046,
-4907479.5762247
],
[
1000004.19625294,
-5051817.21081955
],
[
833337.451877881,
-5051817.21081955
],
[
750004.079690354,
-4907479.5762247
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442459"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
750004.079690354,
-4330129.03784533
],
[
833337.451877881,
-4185791.40325048
],
[
1000004.19625294,
-4185791.40325048
],
[
1083337.56844046,
-4330129.03784533
],
[
1000004.19625294,
-4474466.67244017
],
[
833337.451877881,
-4474466.67244017
],
[
750004.079690354,
-4330129.03784533
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442513"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
1000004.19625294,
-4763141.94162986
],
[
1083337.56844046,
-4618804.30703502
],
[
1250004.31281552,
-4618804.30703502
],
[
1333337.68500304,
-4763141.94162986
],
[
1250004.31281552,
-4907479.5762247
],
[
1083337.56844046,
-4907479.5762247
],
[
1000004.19625294,
-4763141.94162986
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442571"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
1250004.31281552,
-3752778.49946595
],
[
1333337.68500304,
-3608440.86487111
],
[
1500004.4293781,
-3608440.86487111
],
[
1583337.80156563,
-3752778.49946595
],
[
1500004.4293781,
-3897116.13406079
],
[
1333337.68500304,
-3897116.13406079
],
[
1250004.31281552,
-3752778.49946595
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442633"
},
"type": "Feature",
"geometry": {
"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": "MultiPolygon"
}
},
{
"properties": {
"pk": "442771"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2000004.66250326,
6206518.2875783
],
[
2083338.03469079,
6350855.92217315
],
[
2250004.77906584,
6350855.92217315
],
[
2333338.15125337,
6206518.2875783
],
[
2250004.77906584,
6062180.65298346
],
[
2083338.03469079,
6062180.65298346
],
[
2000004.66250326,
6206518.2875783
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442772"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2000004.66250326,
6495193.55676799
],
[
2083338.03469079,
6639531.19136284
],
[
2250004.77906584,
6639531.19136284
],
[
2333338.15125337,
6495193.55676799
],
[
2250004.77906584,
6350855.92217315
],
[
2083338.03469079,
6350855.92217315
],
[
2000004.66250326,
6495193.55676799
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442773"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2000004.66250326,
6783868.82595768
],
[
2083338.03469079,
6928206.46055252
],
[
2250004.77906584,
6928206.46055252
],
[
2333338.15125337,
6783868.82595768
],
[
2250004.77906584,
6639531.19136284
],
[
2083338.03469079,
6639531.19136284
],
[
2000004.66250326,
6783868.82595768
]
]
]
],
"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": "442825"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2250004.77906584,
6062180.65298346
],
[
2333338.15125337,
6206518.2875783
],
[
2500004.89562843,
6206518.2875783
],
[
2583338.26781595,
6062180.65298346
],
[
2500004.89562843,
5917843.01838861
],
[
2333338.15125337,
5917843.01838861
],
[
2250004.77906584,
6062180.65298346
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442880"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2500004.89562843,
5917843.01838861
],
[
2583338.26781595,
6062180.65298346
],
[
2750005.01219101,
6062180.65298346
],
[
2833338.38437853,
5917843.01838861
],
[
2750005.01219101,
5773505.38379377
],
[
2583338.26781595,
5773505.38379377
],
[
2500004.89562843,
5917843.01838861
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442899"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2750005.01219101,
-4330129.03784533
],
[
2833338.38437853,
-4185791.40325048
],
[
3000005.12875359,
-4185791.40325048
],
[
3083338.50094112,
-4330129.03784533
],
[
3000005.12875359,
-4474466.67244017
],
[
2833338.38437853,
-4474466.67244017
],
[
2750005.01219101,
-4330129.03784533
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442935"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2750005.01219101,
6062180.65298346
],
[
2833338.38437853,
6206518.2875783
],
[
3000005.12875359,
6206518.2875783
],
[
3083338.50094112,
6062180.65298346
],
[
3000005.12875359,
5917843.01838861
],
[
2833338.38437853,
5917843.01838861
],
[
2750005.01219101,
6062180.65298346
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442990"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3000005.12875359,
5917843.01838861
],
[
3083338.50094112,
6062180.65298346
],
[
3250005.24531617,
6062180.65298346
],
[
3333338.6175037,
5917843.01838861
],
[
3250005.24531617,
5773505.38379377
],
[
3083338.50094112,
5773505.38379377
],
[
3000005.12875359,
5917843.01838861
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443125"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3750005.47844133,
-2598077.4227072
],
[
3833338.85062886,
-2453739.78811235
],
[
4000005.59500391,
-2453739.78811235
],
[
4083338.96719144,
-2598077.4227072
],
[
4000005.59500391,
-2742415.05730204
],
[
3833338.85062886,
-2742415.05730204
],
[
3750005.47844133,
-2598077.4227072
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443138"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3750005.47844133,
1154701.07675875
],
[
3833338.85062886,
1299038.7113536
],
[
4000005.59500391,
1299038.7113536
],
[
4083338.96719144,
1154701.07675875
],
[
4000005.59500391,
1010363.44216391
],
[
3833338.85062886,
1010363.44216391
],
[
3750005.47844133,
1154701.07675875
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443212"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
4000005.59500391,
6495193.55676799
],
[
4083338.96719144,
6639531.19136284
],
[
4250005.7115665,
6639531.19136284
],
[
4333339.08375402,
6495193.55676799
],
[
4250005.7115665,
6350855.92217315
],
[
4083338.96719144,
6350855.92217315
],
[
4000005.59500391,
6495193.55676799
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443249"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
4250005.7115665,
1443376.34594844
],
[
4333339.08375402,
1587713.98054329
],
[
4500005.82812908,
1587713.98054329
],
[
4583339.2003166,
1443376.34594844
],
[
4500005.82812908,
1299038.7113536
],
[
4333339.08375402,
1299038.7113536
],
[
4250005.7115665,
1443376.34594844
]
]
]
],
"type": "MultiPolygon"
}
}
],
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"type": "FeatureCollection"
}