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=2392128
{
"features": [
{
"properties": {
"pk": "441217"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-4999998.60124902,
2165064.51892266
],
[
-4916665.22906149,
2309402.15351751
],
[
-4749998.48468644,
2309402.15351751
],
[
-4666665.11249891,
2165064.51892266
],
[
-4749998.48468644,
2020726.88432782
],
[
-4916665.22906149,
2020726.88432782
],
[
-4999998.60124902,
2165064.51892266
]
]
]
],
"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": "441219"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-4999998.60124902,
2742415.05730204
],
[
-4916665.22906149,
2886752.69189689
],
[
-4749998.48468644,
2886752.69189689
],
[
-4666665.11249891,
2742415.05730204
],
[
-4749998.48468644,
2598077.4227072
],
[
-4916665.22906149,
2598077.4227072
],
[
-4999998.60124902,
2742415.05730204
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441220"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-4999998.60124902,
3031090.32649173
],
[
-4916665.22906149,
3175427.96108657
],
[
-4749998.48468644,
3175427.96108657
],
[
-4666665.11249891,
3031090.32649173
],
[
-4749998.48468644,
2886752.69189689
],
[
-4916665.22906149,
2886752.69189689
],
[
-4999998.60124902,
3031090.32649173
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441327"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-4499998.36812386,
2165064.51892266
],
[
-4416664.99593633,
2309402.15351751
],
[
-4249998.25156128,
2309402.15351751
],
[
-4166664.87937375,
2165064.51892266
],
[
-4249998.25156128,
2020726.88432782
],
[
-4416664.99593633,
2020726.88432782
],
[
-4499998.36812386,
2165064.51892266
]
]
]
],
"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": "442181"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-499996.503122553,
-5340492.48000924
],
[
-416663.130935026,
-5196154.84541439
],
[
-249996.386559972,
-5196154.84541439
],
[
-166663.014372444,
-5340492.48000924
],
[
-249996.386559972,
-5484830.11460408
],
[
-416663.130935026,
-5484830.11460408
],
[
-499996.503122553,
-5340492.48000924
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442235"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-249996.386559972,
-5484830.11460408
],
[
-166663.014372444,
-5340492.48000924
],
[
3.73000261001289,
-5340492.48000924
],
[
83337.1021901372,
-5484830.11460408
],
[
3.73000261001289,
-5629167.74919892
],
[
-166663.014372444,
-5629167.74919892
],
[
-249996.386559972,
-5484830.11460408
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442238"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-249996.386559972,
-4618804.30703502
],
[
-166663.014372444,
-4474466.67244017
],
[
3.73000261001289,
-4474466.67244017
],
[
83337.1021901372,
-4618804.30703502
],
[
3.73000261001289,
-4763141.94162986
],
[
-166663.014372444,
-4763141.94162986
],
[
-249996.386559972,
-4618804.30703502
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442288"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3.73000261001289,
-6206518.2875783
],
[
83337.1021901372,
-6062180.65298346
],
[
250003.846565192,
-6062180.65298346
],
[
333337.218752719,
-6206518.2875783
],
[
250003.846565192,
-6350855.92217315
],
[
83337.1021901372,
-6350855.92217315
],
[
3.73000261001289,
-6206518.2875783
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442289"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3.73000261001289,
-5917843.01838861
],
[
83337.1021901372,
-5773505.38379377
],
[
250003.846565192,
-5773505.38379377
],
[
333337.218752719,
-5917843.01838861
],
[
250003.846565192,
-6062180.65298346
],
[
83337.1021901372,
-6062180.65298346
],
[
3.73000261001289,
-5917843.01838861
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442291"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3.73000261001289,
-5340492.48000924
],
[
83337.1021901372,
-5196154.84541439
],
[
250003.846565192,
-5196154.84541439
],
[
333337.218752719,
-5340492.48000924
],
[
250003.846565192,
-5484830.11460408
],
[
83337.1021901372,
-5484830.11460408
],
[
3.73000261001289,
-5340492.48000924
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442342"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
250003.846565192,
-6350855.92217315
],
[
333337.218752719,
-6206518.2875783
],
[
500003.963127773,
-6206518.2875783
],
[
583337.3353153,
-6350855.92217315
],
[
500003.963127773,
-6495193.55676799
],
[
333337.218752719,
-6495193.55676799
],
[
250003.846565192,
-6350855.92217315
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442343"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
250003.846565192,
-6062180.65298346
],
[
333337.218752719,
-5917843.01838861
],
[
500003.963127773,
-5917843.01838861
],
[
583337.3353153,
-6062180.65298346
],
[
500003.963127773,
-6206518.2875783
],
[
333337.218752719,
-6206518.2875783
],
[
250003.846565192,
-6062180.65298346
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442344"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
250003.846565192,
-5773505.38379377
],
[
333337.218752719,
-5629167.74919892
],
[
500003.963127773,
-5629167.74919892
],
[
583337.3353153,
-5773505.38379377
],
[
500003.963127773,
-5917843.01838861
],
[
333337.218752719,
-5917843.01838861
],
[
250003.846565192,
-5773505.38379377
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442345"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
250003.846565192,
-5484830.11460408
],
[
333337.218752719,
-5340492.48000924
],
[
500003.963127773,
-5340492.48000924
],
[
583337.3353153,
-5484830.11460408
],
[
500003.963127773,
-5629167.74919892
],
[
333337.218752719,
-5629167.74919892
],
[
250003.846565192,
-5484830.11460408
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442346"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
250003.846565192,
-5196154.84541439
],
[
333337.218752719,
-5051817.21081955
],
[
500003.963127773,
-5051817.21081955
],
[
583337.3353153,
-5196154.84541439
],
[
500003.963127773,
-5340492.48000924
],
[
333337.218752719,
-5340492.48000924
],
[
250003.846565192,
-5196154.84541439
]
]
]
],
"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": "442398"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
500003.963127773,
-6206518.2875783
],
[
583337.3353153,
-6062180.65298346
],
[
750004.079690354,
-6062180.65298346
],
[
833337.451877881,
-6206518.2875783
],
[
750004.079690354,
-6350855.92217315
],
[
583337.3353153,
-6350855.92217315
],
[
500003.963127773,
-6206518.2875783
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442399"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
500003.963127773,
-5917843.01838861
],
[
583337.3353153,
-5773505.38379377
],
[
750004.079690354,
-5773505.38379377
],
[
833337.451877881,
-5917843.01838861
],
[
750004.079690354,
-6062180.65298346
],
[
583337.3353153,
-6062180.65298346
],
[
500003.963127773,
-5917843.01838861
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442400"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
500003.963127773,
-5629167.74919892
],
[
583337.3353153,
-5484830.11460408
],
[
750004.079690354,
-5484830.11460408
],
[
833337.451877881,
-5629167.74919892
],
[
750004.079690354,
-5773505.38379377
],
[
583337.3353153,
-5773505.38379377
],
[
500003.963127773,
-5629167.74919892
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442401"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
500003.963127773,
-5340492.48000924
],
[
583337.3353153,
-5196154.84541439
],
[
750004.079690354,
-5196154.84541439
],
[
833337.451877881,
-5340492.48000924
],
[
750004.079690354,
-5484830.11460408
],
[
583337.3353153,
-5484830.11460408
],
[
500003.963127773,
-5340492.48000924
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442402"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
500003.963127773,
-5051817.21081955
],
[
583337.3353153,
-4907479.5762247
],
[
750004.079690354,
-4907479.5762247
],
[
833337.451877881,
-5051817.21081955
],
[
750004.079690354,
-5196154.84541439
],
[
583337.3353153,
-5196154.84541439
],
[
500003.963127773,
-5051817.21081955
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442451"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
750004.079690354,
-6639531.19136284
],
[
833337.451877881,
-6495193.55676799
],
[
1000004.19625294,
-6495193.55676799
],
[
1083337.56844046,
-6639531.19136284
],
[
1000004.19625294,
-6783868.82595768
],
[
833337.451877881,
-6783868.82595768
],
[
750004.079690354,
-6639531.19136284
]
]
]
],
"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": "442454"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
750004.079690354,
-5773505.38379377
],
[
833337.451877881,
-5629167.74919892
],
[
1000004.19625294,
-5629167.74919892
],
[
1083337.56844046,
-5773505.38379377
],
[
1000004.19625294,
-5917843.01838861
],
[
833337.451877881,
-5917843.01838861
],
[
750004.079690354,
-5773505.38379377
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442455"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
750004.079690354,
-5484830.11460408
],
[
833337.451877881,
-5340492.48000924
],
[
1000004.19625294,
-5340492.48000924
],
[
1083337.56844046,
-5484830.11460408
],
[
1000004.19625294,
-5629167.74919892
],
[
833337.451877881,
-5629167.74919892
],
[
750004.079690354,
-5484830.11460408
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442456"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
750004.079690354,
-5196154.84541439
],
[
833337.451877881,
-5051817.21081955
],
[
1000004.19625294,
-5051817.21081955
],
[
1083337.56844046,
-5196154.84541439
],
[
1000004.19625294,
-5340492.48000924
],
[
833337.451877881,
-5340492.48000924
],
[
750004.079690354,
-5196154.84541439
]
]
]
],
"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": "442458"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
750004.079690354,
-4618804.30703502
],
[
833337.451877881,
-4474466.67244017
],
[
1000004.19625294,
-4474466.67244017
],
[
1083337.56844046,
-4618804.30703502
],
[
1000004.19625294,
-4763141.94162986
],
[
833337.451877881,
-4763141.94162986
],
[
750004.079690354,
-4618804.30703502
]
]
]
],
"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": "442561"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
1250004.31281552,
-6639531.19136284
],
[
1333337.68500304,
-6495193.55676799
],
[
1500004.4293781,
-6495193.55676799
],
[
1583337.80156563,
-6639531.19136284
],
[
1500004.4293781,
-6783868.82595768
],
[
1333337.68500304,
-6783868.82595768
],
[
1250004.31281552,
-6639531.19136284
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442562"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
1250004.31281552,
-6350855.92217315
],
[
1333337.68500304,
-6206518.2875783
],
[
1500004.4293781,
-6206518.2875783
],
[
1583337.80156563,
-6350855.92217315
],
[
1500004.4293781,
-6495193.55676799
],
[
1333337.68500304,
-6495193.55676799
],
[
1250004.31281552,
-6350855.92217315
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442838"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2500004.89562843,
-6206518.2875783
],
[
2583338.26781595,
-6062180.65298346
],
[
2750005.01219101,
-6062180.65298346
],
[
2833338.38437853,
-6206518.2875783
],
[
2750005.01219101,
-6350855.92217315
],
[
2583338.26781595,
-6350855.92217315
],
[
2500004.89562843,
-6206518.2875783
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442898"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2750005.01219101,
-4618804.30703502
],
[
2833338.38437853,
-4474466.67244017
],
[
3000005.12875359,
-4474466.67244017
],
[
3083338.50094112,
-4618804.30703502
],
[
3000005.12875359,
-4763141.94162986
],
[
2833338.38437853,
-4763141.94162986
],
[
2750005.01219101,
-4618804.30703502
]
]
]
],
"type": "MultiPolygon"
}
}
],
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"type": "FeatureCollection"
}