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=2260704
{
"features": [
{
"properties": {
"pk": "441539"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-3499997.90187353,
-144337.634594844
],
[
-3416664.529686,
0.0
],
[
-3249997.78531095,
0.0
],
[
-3166664.41312342,
-144337.634594844
],
[
-3249997.78531095,
-288675.269189688
],
[
-3416664.529686,
-288675.269189688
],
[
-3499997.90187353,
-144337.634594844
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441692"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-2749997.55218579,
-3464103.23027626
],
[
-2666664.17999826,
-3319765.59568142
],
[
-2499997.43562321,
-3319765.59568142
],
[
-2416664.06343568,
-3464103.23027626
],
[
-2499997.43562321,
-3608440.86487111
],
[
-2666664.17999826,
-3608440.86487111
],
[
-2749997.55218579,
-3464103.23027626
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441704"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-2749997.55218579,
0.0
],
[
-2666664.17999826,
144337.634594845
],
[
-2499997.43562321,
144337.634594845
],
[
-2416664.06343568,
0.0
],
[
-2499997.43562321,
-144337.634594844
],
[
-2666664.17999826,
-144337.634594844
],
[
-2749997.55218579,
0.0
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441708"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-2749997.55218579,
1154701.07675875
],
[
-2666664.17999826,
1299038.7113536
],
[
-2499997.43562321,
1299038.7113536
],
[
-2416664.06343568,
1154701.07675875
],
[
-2499997.43562321,
1010363.44216391
],
[
-2666664.17999826,
1010363.44216391
],
[
-2749997.55218579,
1154701.07675875
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441715"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-2749997.55218579,
3175427.96108657
],
[
-2666664.17999826,
3319765.59568142
],
[
-2499997.43562321,
3319765.59568142
],
[
-2416664.06343568,
3175427.96108657
],
[
-2499997.43562321,
3031090.32649173
],
[
-2666664.17999826,
3031090.32649173
],
[
-2749997.55218579,
3175427.96108657
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441763"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-2499997.43562321,
1010363.44216391
],
[
-2416664.06343568,
1154701.07675875
],
[
-2249997.31906062,
1154701.07675875
],
[
-2166663.9468731,
1010363.44216391
],
[
-2249997.31906062,
866025.807569066
],
[
-2416664.06343568,
866025.807569066
],
[
-2499997.43562321,
1010363.44216391
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441768"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-2499997.43562321,
2453739.78811235
],
[
-2416664.06343568,
2598077.4227072
],
[
-2249997.31906062,
2598077.4227072
],
[
-2166663.9468731,
2453739.78811235
],
[
-2249997.31906062,
2309402.15351751
],
[
-2416664.06343568,
2309402.15351751
],
[
-2499997.43562321,
2453739.78811235
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441821"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-2249997.31906062,
2020726.88432782
],
[
-2166663.9468731,
2165064.51892266
],
[
-1999997.20249804,
2165064.51892266
],
[
-1916663.83031052,
2020726.88432782
],
[
-1999997.20249804,
1876389.24973297
],
[
-2166663.9468731,
1876389.24973297
],
[
-2249997.31906062,
2020726.88432782
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441879"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-1999997.20249804,
2742415.05730204
],
[
-1916663.83031052,
2886752.69189689
],
[
-1749997.08593546,
2886752.69189689
],
[
-1666663.71374793,
2742415.05730204
],
[
-1749997.08593546,
2598077.4227072
],
[
-1916663.83031052,
2598077.4227072
],
[
-1999997.20249804,
2742415.05730204
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441934"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-1749997.08593546,
2886752.69189689
],
[
-1666663.71374793,
3031090.32649173
],
[
-1499996.96937288,
3031090.32649173
],
[
-1416663.59718535,
2886752.69189689
],
[
-1499996.96937288,
2742415.05730204
],
[
-1666663.71374793,
2742415.05730204
],
[
-1749997.08593546,
2886752.69189689
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441935"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-1749997.08593546,
3175427.96108657
],
[
-1666663.71374793,
3319765.59568142
],
[
-1499996.96937288,
3319765.59568142
],
[
-1416663.59718535,
3175427.96108657
],
[
-1499996.96937288,
3031090.32649173
],
[
-1666663.71374793,
3031090.32649173
],
[
-1749997.08593546,
3175427.96108657
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442194"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-499996.503122553,
-1587713.98054329
],
[
-416663.130935026,
-1443376.34594844
],
[
-249996.386559972,
-1443376.34594844
],
[
-166663.014372444,
-1587713.98054329
],
[
-249996.386559972,
-1732051.61513813
],
[
-416663.130935026,
-1732051.61513813
],
[
-499996.503122553,
-1587713.98054329
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442206"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-499996.503122553,
1876389.24973297
],
[
-416663.130935026,
2020726.88432782
],
[
-249996.386559972,
2020726.88432782
],
[
-166663.014372444,
1876389.24973297
],
[
-249996.386559972,
1732051.61513813
],
[
-416663.130935026,
1732051.61513813
],
[
-499996.503122553,
1876389.24973297
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442207"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-499996.503122553,
2165064.51892266
],
[
-416663.130935026,
2309402.15351751
],
[
-249996.386559972,
2309402.15351751
],
[
-166663.014372444,
2165064.51892266
],
[
-249996.386559972,
2020726.88432782
],
[
-416663.130935026,
2020726.88432782
],
[
-499996.503122553,
2165064.51892266
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442246"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-249996.386559972,
-2309402.15351751
],
[
-166663.014372444,
-2165064.51892266
],
[
3.73000261001289,
-2165064.51892266
],
[
83337.1021901372,
-2309402.15351751
],
[
3.73000261001289,
-2453739.78811235
],
[
-166663.014372444,
-2453739.78811235
],
[
-249996.386559972,
-2309402.15351751
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442248"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-249996.386559972,
-1732051.61513813
],
[
-166663.014372444,
-1587713.98054329
],
[
3.73000261001289,
-1587713.98054329
],
[
83337.1021901372,
-1732051.61513813
],
[
3.73000261001289,
-1876389.24973297
],
[
-166663.014372444,
-1876389.24973297
],
[
-249996.386559972,
-1732051.61513813
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442249"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-249996.386559972,
-1443376.34594844
],
[
-166663.014372444,
-1299038.7113536
],
[
3.73000261001289,
-1299038.7113536
],
[
83337.1021901372,
-1443376.34594844
],
[
3.73000261001289,
-1587713.98054329
],
[
-166663.014372444,
-1587713.98054329
],
[
-249996.386559972,
-1443376.34594844
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442303"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3.73000261001289,
-1876389.24973297
],
[
83337.1021901372,
-1732051.61513813
],
[
250003.846565192,
-1732051.61513813
],
[
333337.218752719,
-1876389.24973297
],
[
250003.846565192,
-2020726.88432782
],
[
83337.1021901372,
-2020726.88432782
],
[
3.73000261001289,
-1876389.24973297
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442304"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3.73000261001289,
-1587713.98054329
],
[
83337.1021901372,
-1443376.34594844
],
[
250003.846565192,
-1443376.34594844
],
[
333337.218752719,
-1587713.98054329
],
[
250003.846565192,
-1732051.61513813
],
[
83337.1021901372,
-1732051.61513813
],
[
3.73000261001289,
-1587713.98054329
]
]
]
],
"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": "442465"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
750004.079690354,
-2598077.4227072
],
[
833337.451877881,
-2453739.78811235
],
[
1000004.19625294,
-2453739.78811235
],
[
1083337.56844046,
-2598077.4227072
],
[
1000004.19625294,
-2742415.05730204
],
[
833337.451877881,
-2742415.05730204
],
[
750004.079690354,
-2598077.4227072
]
]
]
],
"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": "442572"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
1250004.31281552,
-3464103.23027626
],
[
1333337.68500304,
-3319765.59568142
],
[
1500004.4293781,
-3319765.59568142
],
[
1583337.80156563,
-3464103.23027626
],
[
1500004.4293781,
-3608440.86487111
],
[
1333337.68500304,
-3608440.86487111
],
[
1250004.31281552,
-3464103.23027626
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442858"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2500004.89562843,
-433012.903784532
],
[
2583338.26781595,
-288675.269189688
],
[
2750005.01219101,
-288675.269189688
],
[
2833338.38437853,
-433012.903784532
],
[
2750005.01219101,
-577350.538379377
],
[
2583338.26781595,
-577350.538379377
],
[
2500004.89562843,
-433012.903784532
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442859"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2500004.89562843,
-144337.634594844
],
[
2583338.26781595,
0.0
],
[
2750005.01219101,
0.0
],
[
2833338.38437853,
-144337.634594844
],
[
2750005.01219101,
-288675.269189688
],
[
2583338.26781595,
-288675.269189688
],
[
2500004.89562843,
-144337.634594844
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443036"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3250005.24531617,
3464103.23027626
],
[
3333338.6175037,
3608440.86487111
],
[
3500005.36187875,
3608440.86487111
],
[
3583338.73406628,
3464103.23027626
],
[
3500005.36187875,
3319765.59568142
],
[
3333338.6175037,
3319765.59568142
],
[
3250005.24531617,
3464103.23027626
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443130"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3750005.47844133,
-1154701.07675875
],
[
3833338.85062886,
-1010363.44216391
],
[
4000005.59500391,
-1010363.44216391
],
[
4083338.96719144,
-1154701.07675875
],
[
4000005.59500391,
-1299038.7113536
],
[
3833338.85062886,
-1299038.7113536
],
[
3750005.47844133,
-1154701.07675875
]
]
]
],
"type": "MultiPolygon"
}
}
],
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"type": "FeatureCollection"
}