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=9529005
{
"features": [
{
"properties": {
"pk": "440559"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-8000000.0,
2742415.05730204
],
[
-7916666.62781247,
2886752.69189689
],
[
-7749999.88343742,
2886752.69189689
],
[
-7666666.51124989,
2742415.05730204
],
[
-7749999.88343742,
2598077.4227072
],
[
-7916666.62781247,
2598077.4227072
],
[
-8000000.0,
2742415.05730204
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "440995"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-5999999.06749935,
1587713.98054329
],
[
-5916665.69531182,
1732051.61513813
],
[
-5749998.95093677,
1732051.61513813
],
[
-5666665.57874924,
1587713.98054329
],
[
-5749998.95093677,
1443376.34594844
],
[
-5916665.69531182,
1443376.34594844
],
[
-5999999.06749935,
1587713.98054329
]
]
]
],
"type": "MultiPolygon"
}
},
{
"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": "441214"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-4999998.60124902,
1299038.7113536
],
[
-4916665.22906149,
1443376.34594844
],
[
-4749998.48468644,
1443376.34594844
],
[
-4666665.11249891,
1299038.7113536
],
[
-4749998.48468644,
1154701.07675875
],
[
-4916665.22906149,
1154701.07675875
],
[
-4999998.60124902,
1299038.7113536
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441218"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-4999998.60124902,
2453739.78811235
],
[
-4916665.22906149,
2598077.4227072
],
[
-4749998.48468644,
2598077.4227072
],
[
-4666665.11249891,
2453739.78811235
],
[
-4749998.48468644,
2309402.15351751
],
[
-4916665.22906149,
2309402.15351751
],
[
-4999998.60124902,
2453739.78811235
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441271"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-4749998.48468644,
2020726.88432782
],
[
-4666665.11249891,
2165064.51892266
],
[
-4499998.36812386,
2165064.51892266
],
[
-4416664.99593633,
2020726.88432782
],
[
-4499998.36812386,
1876389.24973297
],
[
-4666665.11249891,
1876389.24973297
],
[
-4749998.48468644,
2020726.88432782
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441328"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-4499998.36812386,
2453739.78811235
],
[
-4416664.99593633,
2598077.4227072
],
[
-4249998.25156128,
2598077.4227072
],
[
-4166664.87937375,
2453739.78811235
],
[
-4249998.25156128,
2309402.15351751
],
[
-4416664.99593633,
2309402.15351751
],
[
-4499998.36812386,
2453739.78811235
]
]
]
],
"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": "441436"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-3999998.13499869,
1876389.24973297
],
[
-3916664.76281117,
2020726.88432782
],
[
-3749998.01843611,
2020726.88432782
],
[
-3666664.64624859,
1876389.24973297
],
[
-3749998.01843611,
1732051.61513813
],
[
-3916664.76281117,
1732051.61513813
],
[
-3999998.13499869,
1876389.24973297
]
]
]
],
"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": "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": "441864"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-1999997.20249804,
-1587713.98054329
],
[
-1916663.83031052,
-1443376.34594844
],
[
-1749997.08593546,
-1443376.34594844
],
[
-1666663.71374793,
-1587713.98054329
],
[
-1749997.08593546,
-1732051.61513813
],
[
-1916663.83031052,
-1732051.61513813
],
[
-1999997.20249804,
-1587713.98054329
]
]
]
],
"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": "442150"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-749996.619685135,
1732051.61513813
],
[
-666663.247497608,
1876389.24973297
],
[
-499996.503122553,
1876389.24973297
],
[
-416663.130935026,
1732051.61513813
],
[
-499996.503122553,
1587713.98054329
],
[
-666663.247497608,
1587713.98054329
],
[
-749996.619685135,
1732051.61513813
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442275"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-249996.386559972,
6062180.65298346
],
[
-166663.014372444,
6206518.2875783
],
[
3.73000261001289,
6206518.2875783
],
[
83337.1021901372,
6062180.65298346
],
[
3.73000261001289,
5917843.01838861
],
[
-166663.014372444,
5917843.01838861
],
[
-249996.386559972,
6062180.65298346
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442293"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3.73000261001289,
-4763141.94162986
],
[
83337.1021901372,
-4618804.30703502
],
[
250003.846565192,
-4618804.30703502
],
[
333337.218752719,
-4763141.94162986
],
[
250003.846565192,
-4907479.5762247
],
[
83337.1021901372,
-4907479.5762247
],
[
3.73000261001289,
-4763141.94162986
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442310"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3.73000261001289,
144337.634594845
],
[
83337.1021901372,
288675.269189689
],
[
250003.846565192,
288675.269189689
],
[
333337.218752719,
144337.634594845
],
[
250003.846565192,
0.0
],
[
83337.1021901372,
0.0
],
[
3.73000261001289,
144337.634594845
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442397"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
500003.963127773,
-6495193.55676799
],
[
583337.3353153,
-6350855.92217315
],
[
750004.079690354,
-6350855.92217315
],
[
833337.451877881,
-6495193.55676799
],
[
750004.079690354,
-6639531.19136284
],
[
583337.3353153,
-6639531.19136284
],
[
500003.963127773,
-6495193.55676799
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442404"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
500003.963127773,
-4474466.67244017
],
[
583337.3353153,
-4330129.03784533
],
[
750004.079690354,
-4330129.03784533
],
[
833337.451877881,
-4474466.67244017
],
[
750004.079690354,
-4618804.30703502
],
[
583337.3353153,
-4618804.30703502
],
[
500003.963127773,
-4474466.67244017
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442405"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
500003.963127773,
-4185791.40325048
],
[
583337.3353153,
-4041453.76865564
],
[
750004.079690354,
-4041453.76865564
],
[
833337.451877881,
-4185791.40325048
],
[
750004.079690354,
-4330129.03784533
],
[
583337.3353153,
-4330129.03784533
],
[
500003.963127773,
-4185791.40325048
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442452"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
750004.079690354,
-6350855.92217315
],
[
833337.451877881,
-6206518.2875783
],
[
1000004.19625294,
-6206518.2875783
],
[
1083337.56844046,
-6350855.92217315
],
[
1000004.19625294,
-6495193.55676799
],
[
833337.451877881,
-6495193.55676799
],
[
750004.079690354,
-6350855.92217315
]
]
]
],
"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": "442514"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
1000004.19625294,
-4474466.67244017
],
[
1083337.56844046,
-4330129.03784533
],
[
1250004.31281552,
-4330129.03784533
],
[
1333337.68500304,
-4474466.67244017
],
[
1250004.31281552,
-4618804.30703502
],
[
1083337.56844046,
-4618804.30703502
],
[
1000004.19625294,
-4474466.67244017
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442707"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
1750004.54594068,
3752778.49946595
],
[
1833337.91812821,
3897116.13406079
],
[
2000004.66250326,
3897116.13406079
],
[
2083338.03469079,
3752778.49946595
],
[
2000004.66250326,
3608440.86487111
],
[
1833337.91812821,
3608440.86487111
],
[
1750004.54594068,
3752778.49946595
]
]
]
],
"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": "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"
}
}
],
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"type": "FeatureCollection"
}