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=2406138
{
"features": [
{
"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": "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": "441385"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-4249998.25156128,
3175427.96108657
],
[
-4166664.87937375,
3319765.59568142
],
[
-3999998.13499869,
3319765.59568142
],
[
-3916664.76281117,
3175427.96108657
],
[
-3999998.13499869,
3031090.32649173
],
[
-4166664.87937375,
3031090.32649173
],
[
-4249998.25156128,
3175427.96108657
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441425"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-3999998.13499869,
-1299038.7113536
],
[
-3916664.76281117,
-1154701.07675875
],
[
-3749998.01843611,
-1154701.07675875
],
[
-3666664.64624859,
-1299038.7113536
],
[
-3749998.01843611,
-1443376.34594844
],
[
-3916664.76281117,
-1443376.34594844
],
[
-3999998.13499869,
-1299038.7113536
]
]
]
],
"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": "441607"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-3249997.78531095,
3752778.49946595
],
[
-3166664.41312342,
3897116.13406079
],
[
-2999997.66874837,
3897116.13406079
],
[
-2916664.29656084,
3752778.49946595
],
[
-2999997.66874837,
3608440.86487111
],
[
-3166664.41312342,
3608440.86487111
],
[
-3249997.78531095,
3752778.49946595
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441661"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-2999997.66874837,
3319765.59568142
],
[
-2916664.29656084,
3464103.23027626
],
[
-2749997.55218579,
3464103.23027626
],
[
-2666664.17999826,
3319765.59568142
],
[
-2749997.55218579,
3175427.96108657
],
[
-2916664.29656084,
3175427.96108657
],
[
-2999997.66874837,
3319765.59568142
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441663"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-2999997.66874837,
3897116.13406079
],
[
-2916664.29656084,
4041453.76865564
],
[
-2749997.55218579,
4041453.76865564
],
[
-2666664.17999826,
3897116.13406079
],
[
-2749997.55218579,
3752778.49946595
],
[
-2916664.29656084,
3752778.49946595
],
[
-2999997.66874837,
3897116.13406079
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441701"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-2749997.55218579,
-866025.807569065
],
[
-2666664.17999826,
-721688.17297422
],
[
-2499997.43562321,
-721688.17297422
],
[
-2416664.06343568,
-866025.807569065
],
[
-2499997.43562321,
-1010363.44216391
],
[
-2666664.17999826,
-1010363.44216391
],
[
-2749997.55218579,
-866025.807569065
]
]
]
],
"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": "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": "441983"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-1499996.96937288,
1010363.44216391
],
[
-1416663.59718535,
1154701.07675875
],
[
-1249996.8528103,
1154701.07675875
],
[
-1166663.48062277,
1010363.44216391
],
[
-1249996.8528103,
866025.807569066
],
[
-1416663.59718535,
866025.807569066
],
[
-1499996.96937288,
1010363.44216391
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442036"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-1249996.8528103,
577350.538379378
],
[
-1166663.48062277,
721688.172974221
],
[
-999996.736247716,
721688.172974221
],
[
-916663.364060189,
577350.538379378
],
[
-999996.736247716,
433012.903784533
],
[
-1166663.48062277,
433012.903784533
],
[
-1249996.8528103,
577350.538379378
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442037"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-1249996.8528103,
866025.807569066
],
[
-1166663.48062277,
1010363.44216391
],
[
-999996.736247716,
1010363.44216391
],
[
-916663.364060189,
866025.807569066
],
[
-999996.736247716,
721688.172974221
],
[
-1166663.48062277,
721688.172974221
],
[
-1249996.8528103,
866025.807569066
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442038"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-1249996.8528103,
1154701.07675875
],
[
-1166663.48062277,
1299038.7113536
],
[
-999996.736247716,
1299038.7113536
],
[
-916663.364060189,
1154701.07675875
],
[
-999996.736247716,
1010363.44216391
],
[
-1166663.48062277,
1010363.44216391
],
[
-1249996.8528103,
1154701.07675875
]
]
]
],
"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": "442355"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
250003.846565192,
-2598077.4227072
],
[
333337.218752719,
-2453739.78811235
],
[
500003.963127773,
-2453739.78811235
],
[
583337.3353153,
-2598077.4227072
],
[
500003.963127773,
-2742415.05730204
],
[
333337.218752719,
-2742415.05730204
],
[
250003.846565192,
-2598077.4227072
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442356"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
250003.846565192,
-2309402.15351751
],
[
333337.218752719,
-2165064.51892266
],
[
500003.963127773,
-2165064.51892266
],
[
583337.3353153,
-2309402.15351751
],
[
500003.963127773,
-2453739.78811235
],
[
333337.218752719,
-2453739.78811235
],
[
250003.846565192,
-2309402.15351751
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442406"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
500003.963127773,
-3897116.13406079
],
[
583337.3353153,
-3752778.49946595
],
[
750004.079690354,
-3752778.49946595
],
[
833337.451877881,
-3897116.13406079
],
[
750004.079690354,
-4041453.76865564
],
[
583337.3353153,
-4041453.76865564
],
[
500003.963127773,
-3897116.13406079
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442412"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
500003.963127773,
-2165064.51892266
],
[
583337.3353153,
-2020726.88432782
],
[
750004.079690354,
-2020726.88432782
],
[
833337.451877881,
-2165064.51892266
],
[
750004.079690354,
-2309402.15351751
],
[
583337.3353153,
-2309402.15351751
],
[
500003.963127773,
-2165064.51892266
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442464"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
750004.079690354,
-2886752.69189688
],
[
833337.451877881,
-2742415.05730204
],
[
1000004.19625294,
-2742415.05730204
],
[
1083337.56844046,
-2886752.69189688
],
[
1000004.19625294,
-3031090.32649173
],
[
833337.451877881,
-3031090.32649173
],
[
750004.079690354,
-2886752.69189688
]
]
]
],
"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": "442626"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
1500004.4293781,
-3897116.13406079
],
[
1583337.80156563,
-3752778.49946595
],
[
1750004.54594068,
-3752778.49946595
],
[
1833337.91812821,
-3897116.13406079
],
[
1750004.54594068,
-4041453.76865564
],
[
1583337.80156563,
-4041453.76865564
],
[
1500004.4293781,
-3897116.13406079
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442740"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2000004.66250326,
-2742415.05730204
],
[
2083338.03469079,
-2598077.4227072
],
[
2250004.77906584,
-2598077.4227072
],
[
2333338.15125337,
-2742415.05730204
],
[
2250004.77906584,
-2886752.69189688
],
[
2083338.03469079,
-2886752.69189688
],
[
2000004.66250326,
-2742415.05730204
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442792"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2250004.77906584,
-3464103.23027626
],
[
2333338.15125337,
-3319765.59568142
],
[
2500004.89562843,
-3319765.59568142
],
[
2583338.26781595,
-3464103.23027626
],
[
2500004.89562843,
-3608440.86487111
],
[
2333338.15125337,
-3608440.86487111
],
[
2250004.77906584,
-3464103.23027626
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442799"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2250004.77906584,
-1443376.34594844
],
[
2333338.15125337,
-1299038.7113536
],
[
2500004.89562843,
-1299038.7113536
],
[
2583338.26781595,
-1443376.34594844
],
[
2500004.89562843,
-1587713.98054329
],
[
2333338.15125337,
-1587713.98054329
],
[
2250004.77906584,
-1443376.34594844
]
]
]
],
"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": "443182"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
4000005.59500391,
-2165064.51892266
],
[
4083338.96719144,
-2020726.88432782
],
[
4250005.7115665,
-2020726.88432782
],
[
4333339.08375402,
-2165064.51892266
],
[
4250005.7115665,
-2309402.15351751
],
[
4083338.96719144,
-2309402.15351751
],
[
4000005.59500391,
-2165064.51892266
]
]
]
],
"type": "MultiPolygon"
}
}
],
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"type": "FeatureCollection"
}