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=2406349
{
"features": [
{
"properties": {
"pk": "441428"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-3999998.13499869,
-433012.903784532
],
[
-3916664.76281117,
-288675.269189688
],
[
-3749998.01843611,
-288675.269189688
],
[
-3666664.64624859,
-433012.903784532
],
[
-3749998.01843611,
-577350.538379377
],
[
-3916664.76281117,
-577350.538379377
],
[
-3999998.13499869,
-433012.903784532
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441432"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-3999998.13499869,
721688.172974221
],
[
-3916664.76281117,
866025.807569066
],
[
-3749998.01843611,
866025.807569066
],
[
-3666664.64624859,
721688.172974221
],
[
-3749998.01843611,
577350.538379378
],
[
-3916664.76281117,
577350.538379378
],
[
-3999998.13499869,
721688.172974221
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441538"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-3499997.90187353,
-433012.903784532
],
[
-3416664.529686,
-288675.269189688
],
[
-3249997.78531095,
-288675.269189688
],
[
-3166664.41312342,
-433012.903784532
],
[
-3249997.78531095,
-577350.538379377
],
[
-3416664.529686,
-577350.538379377
],
[
-3499997.90187353,
-433012.903784532
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441540"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-3499997.90187353,
144337.634594845
],
[
-3416664.529686,
288675.269189689
],
[
-3249997.78531095,
288675.269189689
],
[
-3166664.41312342,
144337.634594845
],
[
-3249997.78531095,
0.0
],
[
-3416664.529686,
0.0
],
[
-3499997.90187353,
144337.634594845
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441662"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-2999997.66874837,
3608440.86487111
],
[
-2916664.29656084,
3752778.49946595
],
[
-2749997.55218579,
3752778.49946595
],
[
-2666664.17999826,
3608440.86487111
],
[
-2749997.55218579,
3464103.23027626
],
[
-2916664.29656084,
3464103.23027626
],
[
-2999997.66874837,
3608440.86487111
]
]
]
],
"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": "441719"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-2749997.55218579,
4330129.03784533
],
[
-2666664.17999826,
4474466.67244017
],
[
-2499997.43562321,
4474466.67244017
],
[
-2416664.06343568,
4330129.03784533
],
[
-2499997.43562321,
4185791.40325048
],
[
-2666664.17999826,
4185791.40325048
],
[
-2749997.55218579,
4330129.03784533
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441720"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-2749997.55218579,
4618804.30703502
],
[
-2666664.17999826,
4763141.94162986
],
[
-2499997.43562321,
4763141.94162986
],
[
-2416664.06343568,
4618804.30703502
],
[
-2499997.43562321,
4474466.67244017
],
[
-2666664.17999826,
4474466.67244017
],
[
-2749997.55218579,
4618804.30703502
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441858"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-1999997.20249804,
-3319765.59568142
],
[
-1916663.83031052,
-3175427.96108657
],
[
-1749997.08593546,
-3175427.96108657
],
[
-1666663.71374793,
-3319765.59568142
],
[
-1749997.08593546,
-3464103.23027626
],
[
-1916663.83031052,
-3464103.23027626
],
[
-1999997.20249804,
-3319765.59568142
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441886"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-1999997.20249804,
4763141.94162986
],
[
-1916663.83031052,
4907479.57622471
],
[
-1749997.08593546,
4907479.57622471
],
[
-1666663.71374793,
4763141.94162986
],
[
-1749997.08593546,
4618804.30703502
],
[
-1916663.83031052,
4618804.30703502
],
[
-1999997.20249804,
4763141.94162986
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441908"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-1749997.08593546,
-4618804.30703502
],
[
-1666663.71374793,
-4474466.67244017
],
[
-1499996.96937288,
-4474466.67244017
],
[
-1416663.59718535,
-4618804.30703502
],
[
-1499996.96937288,
-4763141.94162986
],
[
-1666663.71374793,
-4763141.94162986
],
[
-1749997.08593546,
-4618804.30703502
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441967"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-1499996.96937288,
-3608440.86487111
],
[
-1416663.59718535,
-3464103.23027626
],
[
-1249996.8528103,
-3464103.23027626
],
[
-1166663.48062277,
-3608440.86487111
],
[
-1249996.8528103,
-3752778.49946595
],
[
-1416663.59718535,
-3752778.49946595
],
[
-1499996.96937288,
-3608440.86487111
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442018"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-1249996.8528103,
-4618804.30703502
],
[
-1166663.48062277,
-4474466.67244017
],
[
-999996.736247716,
-4474466.67244017
],
[
-916663.364060189,
-4618804.30703502
],
[
-999996.736247716,
-4763141.94162986
],
[
-1166663.48062277,
-4763141.94162986
],
[
-1249996.8528103,
-4618804.30703502
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442093"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-999996.736247716,
1010363.44216391
],
[
-916663.364060189,
1154701.07675875
],
[
-749996.619685135,
1154701.07675875
],
[
-666663.247497608,
1010363.44216391
],
[
-749996.619685135,
866025.807569066
],
[
-916663.364060189,
866025.807569066
],
[
-999996.736247716,
1010363.44216391
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442156"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-749996.619685135,
3464103.23027626
],
[
-666663.247497608,
3608440.86487111
],
[
-499996.503122553,
3608440.86487111
],
[
-416663.130935026,
3464103.23027626
],
[
-499996.503122553,
3319765.59568142
],
[
-666663.247497608,
3319765.59568142
],
[
-749996.619685135,
3464103.23027626
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442254"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-249996.386559972,
0.0
],
[
-166663.014372444,
144337.634594845
],
[
3.73000261001289,
144337.634594845
],
[
83337.1021901372,
0.0
],
[
3.73000261001289,
-144337.634594844
],
[
-166663.014372444,
-144337.634594844
],
[
-249996.386559972,
0.0
]
]
]
],
"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": "442569"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
1250004.31281552,
-4330129.03784533
],
[
1333337.68500304,
-4185791.40325048
],
[
1500004.4293781,
-4185791.40325048
],
[
1583337.80156563,
-4330129.03784533
],
[
1500004.4293781,
-4474466.67244017
],
[
1333337.68500304,
-4474466.67244017
],
[
1250004.31281552,
-4330129.03784533
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442570"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
1250004.31281552,
-4041453.76865564
],
[
1333337.68500304,
-3897116.13406079
],
[
1500004.4293781,
-3897116.13406079
],
[
1583337.80156563,
-4041453.76865564
],
[
1500004.4293781,
-4185791.40325048
],
[
1333337.68500304,
-4185791.40325048
],
[
1250004.31281552,
-4041453.76865564
]
]
]
],
"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": "442656"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
1500004.4293781,
4763141.94162986
],
[
1583337.80156563,
4907479.57622471
],
[
1750004.54594068,
4907479.57622471
],
[
1833337.91812821,
4763141.94162986
],
[
1750004.54594068,
4618804.30703502
],
[
1583337.80156563,
4618804.30703502
],
[
1500004.4293781,
4763141.94162986
]
]
]
],
"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": "443194"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
4000005.59500391,
1299038.7113536
],
[
4083338.96719144,
1443376.34594844
],
[
4250005.7115665,
1443376.34594844
],
[
4333339.08375402,
1299038.7113536
],
[
4250005.7115665,
1154701.07675875
],
[
4083338.96719144,
1154701.07675875
],
[
4000005.59500391,
1299038.7113536
]
]
]
],
"type": "MultiPolygon"
}
}
],
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"type": "FeatureCollection"
}