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=5818695
{
"features": [
{
"properties": {
"pk": "440831"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-6749999.41718709,
2020726.88432782
],
[
-6666666.04499956,
2165064.51892266
],
[
-6499999.30062451,
2165064.51892266
],
[
-6416665.92843698,
2020726.88432782
],
[
-6499999.30062451,
1876389.24973297
],
[
-6666666.04499956,
1876389.24973297
],
[
-6749999.41718709,
2020726.88432782
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "440940"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-6249999.18406193,
1732051.61513813
],
[
-6166665.8118744,
1876389.24973297
],
[
-5999999.06749935,
1876389.24973297
],
[
-5916665.69531182,
1732051.61513813
],
[
-5999999.06749935,
1587713.98054329
],
[
-6166665.8118744,
1587713.98054329
],
[
-6249999.18406193,
1732051.61513813
]
]
]
],
"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": "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": "441268"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-4749998.48468644,
1154701.07675875
],
[
-4666665.11249891,
1299038.7113536
],
[
-4499998.36812386,
1299038.7113536
],
[
-4416664.99593633,
1154701.07675875
],
[
-4499998.36812386,
1010363.44216391
],
[
-4666665.11249891,
1010363.44216391
],
[
-4749998.48468644,
1154701.07675875
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441324"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-4499998.36812386,
1299038.7113536
],
[
-4416664.99593633,
1443376.34594844
],
[
-4249998.25156128,
1443376.34594844
],
[
-4166664.87937375,
1299038.7113536
],
[
-4249998.25156128,
1154701.07675875
],
[
-4416664.99593633,
1154701.07675875
],
[
-4499998.36812386,
1299038.7113536
]
]
]
],
"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": "441433"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-3999998.13499869,
1010363.44216391
],
[
-3916664.76281117,
1154701.07675875
],
[
-3749998.01843611,
1154701.07675875
],
[
-3666664.64624859,
1010363.44216391
],
[
-3749998.01843611,
866025.807569066
],
[
-3916664.76281117,
866025.807569066
],
[
-3999998.13499869,
1010363.44216391
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441959"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-1499996.96937288,
-5917843.01838861
],
[
-1416663.59718535,
-5773505.38379377
],
[
-1249996.8528103,
-5773505.38379377
],
[
-1166663.48062277,
-5917843.01838861
],
[
-1249996.8528103,
-6062180.65298346
],
[
-1416663.59718535,
-6062180.65298346
],
[
-1499996.96937288,
-5917843.01838861
]
]
]
],
"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": "442182"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-499996.503122553,
-5051817.21081955
],
[
-416663.130935026,
-4907479.5762247
],
[
-249996.386559972,
-4907479.5762247
],
[
-166663.014372444,
-5051817.21081955
],
[
-249996.386559972,
-5196154.84541439
],
[
-416663.130935026,
-5196154.84541439
],
[
-499996.503122553,
-5051817.21081955
]
]
]
],
"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": "442236"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-249996.386559972,
-5196154.84541439
],
[
-166663.014372444,
-5051817.21081955
],
[
3.73000261001289,
-5051817.21081955
],
[
83337.1021901372,
-5196154.84541439
],
[
3.73000261001289,
-5340492.48000924
],
[
-166663.014372444,
-5340492.48000924
],
[
-249996.386559972,
-5196154.84541439
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442287"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3.73000261001289,
-6495193.55676799
],
[
83337.1021901372,
-6350855.92217315
],
[
250003.846565192,
-6350855.92217315
],
[
333337.218752719,
-6495193.55676799
],
[
250003.846565192,
-6639531.19136284
],
[
83337.1021901372,
-6639531.19136284
],
[
3.73000261001289,
-6495193.55676799
]
]
]
],
"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": "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": "442348"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
250003.846565192,
-4618804.30703502
],
[
333337.218752719,
-4474466.67244017
],
[
500003.963127773,
-4474466.67244017
],
[
583337.3353153,
-4618804.30703502
],
[
500003.963127773,
-4763141.94162986
],
[
333337.218752719,
-4763141.94162986
],
[
250003.846565192,
-4618804.30703502
]
]
]
],
"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": "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": "442508"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
1000004.19625294,
-6206518.2875783
],
[
1083337.56844046,
-6062180.65298346
],
[
1250004.31281552,
-6062180.65298346
],
[
1333337.68500304,
-6206518.2875783
],
[
1250004.31281552,
-6350855.92217315
],
[
1083337.56844046,
-6350855.92217315
],
[
1000004.19625294,
-6206518.2875783
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442510"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
1000004.19625294,
-5629167.74919892
],
[
1083337.56844046,
-5484830.11460408
],
[
1250004.31281552,
-5484830.11460408
],
[
1333337.68500304,
-5629167.74919892
],
[
1250004.31281552,
-5773505.38379377
],
[
1083337.56844046,
-5773505.38379377
],
[
1000004.19625294,
-5629167.74919892
]
]
]
],
"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": "442515"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
1000004.19625294,
-4185791.40325048
],
[
1083337.56844046,
-4041453.76865564
],
[
1250004.31281552,
-4041453.76865564
],
[
1333337.68500304,
-4185791.40325048
],
[
1250004.31281552,
-4330129.03784533
],
[
1083337.56844046,
-4330129.03784533
],
[
1000004.19625294,
-4185791.40325048
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442563"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
1250004.31281552,
-6062180.65298346
],
[
1333337.68500304,
-5917843.01838861
],
[
1500004.4293781,
-5917843.01838861
],
[
1583337.80156563,
-6062180.65298346
],
[
1500004.4293781,
-6206518.2875783
],
[
1333337.68500304,
-6206518.2875783
],
[
1250004.31281552,
-6062180.65298346
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442565"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
1250004.31281552,
-5484830.11460408
],
[
1333337.68500304,
-5340492.48000924
],
[
1500004.4293781,
-5340492.48000924
],
[
1583337.80156563,
-5484830.11460408
],
[
1500004.4293781,
-5629167.74919892
],
[
1333337.68500304,
-5629167.74919892
],
[
1250004.31281552,
-5484830.11460408
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442790"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2250004.77906584,
-4041453.76865564
],
[
2333338.15125337,
-3897116.13406079
],
[
2500004.89562843,
-3897116.13406079
],
[
2583338.26781595,
-4041453.76865564
],
[
2500004.89562843,
-4185791.40325048
],
[
2333338.15125337,
-4185791.40325048
],
[
2250004.77906584,
-4041453.76865564
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442845"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2500004.89562843,
-4185791.40325048
],
[
2583338.26781595,
-4041453.76865564
],
[
2750005.01219101,
-4041453.76865564
],
[
2833338.38437853,
-4185791.40325048
],
[
2750005.01219101,
-4330129.03784533
],
[
2583338.26781595,
-4330129.03784533
],
[
2500004.89562843,
-4185791.40325048
]
]
]
],
"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": "442954"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3000005.12875359,
-4474466.67244017
],
[
3083338.50094112,
-4330129.03784533
],
[
3250005.24531617,
-4330129.03784533
],
[
3333338.6175037,
-4474466.67244017
],
[
3250005.24531617,
-4618804.30703502
],
[
3083338.50094112,
-4618804.30703502
],
[
3000005.12875359,
-4474466.67244017
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443509"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
5500006.2943794,
-3031090.32649173
],
[
5583339.66656693,
-2886752.69189688
],
[
5750006.41094199,
-2886752.69189688
],
[
5833339.78312951,
-3031090.32649173
],
[
5750006.41094199,
-3175427.96108657
],
[
5583339.66656693,
-3175427.96108657
],
[
5500006.2943794,
-3031090.32649173
]
]
]
],
"type": "MultiPolygon"
}
}
],
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"type": "FeatureCollection"
}