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&dataset=32
{
"features": [
{
"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": "441546"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-3499997.90187353,
1876389.24973297
],
[
-3416664.529686,
2020726.88432782
],
[
-3249997.78531095,
2020726.88432782
],
[
-3166664.41312342,
1876389.24973297
],
[
-3249997.78531095,
1732051.61513813
],
[
-3416664.529686,
1732051.61513813
],
[
-3499997.90187353,
1876389.24973297
]
]
]
],
"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": "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": "441764"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-2499997.43562321,
1299038.7113536
],
[
-2416664.06343568,
1443376.34594844
],
[
-2249997.31906062,
1443376.34594844
],
[
-2166663.9468731,
1299038.7113536
],
[
-2249997.31906062,
1154701.07675875
],
[
-2416664.06343568,
1154701.07675875
],
[
-2499997.43562321,
1299038.7113536
]
]
]
],
"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": "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": "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": "441988"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-1499996.96937288,
2453739.78811235
],
[
-1416663.59718535,
2598077.4227072
],
[
-1249996.8528103,
2598077.4227072
],
[
-1166663.48062277,
2453739.78811235
],
[
-1249996.8528103,
2309402.15351751
],
[
-1416663.59718535,
2309402.15351751
],
[
-1499996.96937288,
2453739.78811235
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442043"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-1249996.8528103,
2598077.4227072
],
[
-1166663.48062277,
2742415.05730204
],
[
-999996.736247716,
2742415.05730204
],
[
-916663.364060189,
2598077.4227072
],
[
-999996.736247716,
2453739.78811235
],
[
-1166663.48062277,
2453739.78811235
],
[
-1249996.8528103,
2598077.4227072
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442099"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-999996.736247716,
2742415.05730204
],
[
-916663.364060189,
2886752.69189689
],
[
-749996.619685135,
2886752.69189689
],
[
-666663.247497608,
2742415.05730204
],
[
-749996.619685135,
2598077.4227072
],
[
-916663.364060189,
2598077.4227072
],
[
-999996.736247716,
2742415.05730204
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442207"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-499996.503122553,
2165064.51892266
],
[
-416663.130935026,
2309402.15351751
],
[
-249996.386559972,
2309402.15351751
],
[
-166663.014372444,
2165064.51892266
],
[
-249996.386559972,
2020726.88432782
],
[
-416663.130935026,
2020726.88432782
],
[
-499996.503122553,
2165064.51892266
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442209"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-499996.503122553,
2742415.05730204
],
[
-416663.130935026,
2886752.69189689
],
[
-249996.386559972,
2886752.69189689
],
[
-166663.014372444,
2742415.05730204
],
[
-249996.386559972,
2598077.4227072
],
[
-416663.130935026,
2598077.4227072
],
[
-499996.503122553,
2742415.05730204
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442262"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-249996.386559972,
2309402.15351751
],
[
-166663.014372444,
2453739.78811235
],
[
3.73000261001289,
2453739.78811235
],
[
83337.1021901372,
2309402.15351751
],
[
3.73000261001289,
2165064.51892266
],
[
-166663.014372444,
2165064.51892266
],
[
-249996.386559972,
2309402.15351751
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442263"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-249996.386559972,
2598077.4227072
],
[
-166663.014372444,
2742415.05730204
],
[
3.73000261001289,
2742415.05730204
],
[
83337.1021901372,
2598077.4227072
],
[
3.73000261001289,
2453739.78811235
],
[
-166663.014372444,
2453739.78811235
],
[
-249996.386559972,
2598077.4227072
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442265"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-249996.386559972,
3175427.96108657
],
[
-166663.014372444,
3319765.59568142
],
[
3.73000261001289,
3319765.59568142
],
[
83337.1021901372,
3175427.96108657
],
[
3.73000261001289,
3031090.32649173
],
[
-166663.014372444,
3031090.32649173
],
[
-249996.386559972,
3175427.96108657
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442267"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-249996.386559972,
3752778.49946595
],
[
-166663.014372444,
3897116.13406079
],
[
3.73000261001289,
3897116.13406079
],
[
83337.1021901372,
3752778.49946595
],
[
3.73000261001289,
3608440.86487111
],
[
-166663.014372444,
3608440.86487111
],
[
-249996.386559972,
3752778.49946595
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442317"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3.73000261001289,
2165064.51892266
],
[
83337.1021901372,
2309402.15351751
],
[
250003.846565192,
2309402.15351751
],
[
333337.218752719,
2165064.51892266
],
[
250003.846565192,
2020726.88432782
],
[
83337.1021901372,
2020726.88432782
],
[
3.73000261001289,
2165064.51892266
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442323"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3.73000261001289,
3897116.13406079
],
[
83337.1021901372,
4041453.76865564
],
[
250003.846565192,
4041453.76865564
],
[
333337.218752719,
3897116.13406079
],
[
250003.846565192,
3752778.49946595
],
[
83337.1021901372,
3752778.49946595
],
[
3.73000261001289,
3897116.13406079
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442380"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
250003.846565192,
4618804.30703502
],
[
333337.218752719,
4763141.94162986
],
[
500003.963127773,
4763141.94162986
],
[
583337.3353153,
4618804.30703502
],
[
500003.963127773,
4474466.67244017
],
[
333337.218752719,
4474466.67244017
],
[
250003.846565192,
4618804.30703502
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442381"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
250003.846565192,
4907479.57622471
],
[
333337.218752719,
5051817.21081955
],
[
500003.963127773,
5051817.21081955
],
[
583337.3353153,
4907479.57622471
],
[
500003.963127773,
4763141.94162986
],
[
333337.218752719,
4763141.94162986
],
[
250003.846565192,
4907479.57622471
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442437"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
500003.963127773,
5051817.21081955
],
[
583337.3353153,
5196154.84541439
],
[
750004.079690354,
5196154.84541439
],
[
833337.451877881,
5051817.21081955
],
[
750004.079690354,
4907479.57622471
],
[
583337.3353153,
4907479.57622471
],
[
500003.963127773,
5051817.21081955
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442548"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
1000004.19625294,
5340492.48000924
],
[
1083337.56844046,
5484830.11460408
],
[
1250004.31281552,
5484830.11460408
],
[
1333337.68500304,
5340492.48000924
],
[
1250004.31281552,
5196154.84541439
],
[
1083337.56844046,
5196154.84541439
],
[
1000004.19625294,
5340492.48000924
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442604"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
1250004.31281552,
5773505.38379377
],
[
1333337.68500304,
5917843.01838861
],
[
1500004.4293781,
5917843.01838861
],
[
1583337.80156563,
5773505.38379377
],
[
1500004.4293781,
5629167.74919893
],
[
1333337.68500304,
5629167.74919893
],
[
1250004.31281552,
5773505.38379377
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442606"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
1250004.31281552,
6350855.92217315
],
[
1333337.68500304,
6495193.55676799
],
[
1500004.4293781,
6495193.55676799
],
[
1583337.80156563,
6350855.92217315
],
[
1500004.4293781,
6206518.2875783
],
[
1333337.68500304,
6206518.2875783
],
[
1250004.31281552,
6350855.92217315
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442716"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
1750004.54594068,
6350855.92217315
],
[
1833337.91812821,
6495193.55676799
],
[
2000004.66250326,
6495193.55676799
],
[
2083338.03469079,
6350855.92217315
],
[
2000004.66250326,
6206518.2875783
],
[
1833337.91812821,
6206518.2875783
],
[
1750004.54594068,
6350855.92217315
]
]
]
],
"type": "MultiPolygon"
}
}
],
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"type": "FeatureCollection"
}