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=7774442
{
"features": [
{
"properties": {
"pk": "441105"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-5499998.83437418,
1587713.98054329
],
[
-5416665.46218666,
1732051.61513813
],
[
-5249998.7178116,
1732051.61513813
],
[
-5166665.34562408,
1587713.98054329
],
[
-5249998.7178116,
1443376.34594844
],
[
-5416665.46218666,
1443376.34594844
],
[
-5499998.83437418,
1587713.98054329
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441160"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-5249998.7178116,
1732051.61513813
],
[
-5166665.34562408,
1876389.24973297
],
[
-4999998.60124902,
1876389.24973297
],
[
-4916665.22906149,
1732051.61513813
],
[
-4999998.60124902,
1587713.98054329
],
[
-5166665.34562408,
1587713.98054329
],
[
-5249998.7178116,
1732051.61513813
]
]
]
],
"type": "MultiPolygon"
}
},
{
"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": "441272"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-4749998.48468644,
2309402.15351751
],
[
-4666665.11249891,
2453739.78811235
],
[
-4499998.36812386,
2453739.78811235
],
[
-4416664.99593633,
2309402.15351751
],
[
-4499998.36812386,
2165064.51892266
],
[
-4666665.11249891,
2165064.51892266
],
[
-4749998.48468644,
2309402.15351751
]
]
]
],
"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": "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": "441710"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-2749997.55218579,
1732051.61513813
],
[
-2666664.17999826,
1876389.24973297
],
[
-2499997.43562321,
1876389.24973297
],
[
-2416664.06343568,
1732051.61513813
],
[
-2499997.43562321,
1587713.98054329
],
[
-2666664.17999826,
1587713.98054329
],
[
-2749997.55218579,
1732051.61513813
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441765"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-2499997.43562321,
1587713.98054329
],
[
-2416664.06343568,
1732051.61513813
],
[
-2249997.31906062,
1732051.61513813
],
[
-2166663.9468731,
1587713.98054329
],
[
-2249997.31906062,
1443376.34594844
],
[
-2416664.06343568,
1443376.34594844
],
[
-2499997.43562321,
1587713.98054329
]
]
]
],
"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": "442359"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
250003.846565192,
-1443376.34594844
],
[
333337.218752719,
-1299038.7113536
],
[
500003.963127773,
-1299038.7113536
],
[
583337.3353153,
-1443376.34594844
],
[
500003.963127773,
-1587713.98054329
],
[
333337.218752719,
-1587713.98054329
],
[
250003.846565192,
-1443376.34594844
]
]
]
],
"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": "442751"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2000004.66250326,
433012.903784533
],
[
2083338.03469079,
577350.538379378
],
[
2250004.77906584,
577350.538379378
],
[
2333338.15125337,
433012.903784533
],
[
2250004.77906584,
288675.269189689
],
[
2083338.03469079,
288675.269189689
],
[
2000004.66250326,
433012.903784533
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442801"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2250004.77906584,
-866025.807569065
],
[
2333338.15125337,
-721688.17297422
],
[
2500004.89562843,
-721688.17297422
],
[
2583338.26781595,
-866025.807569065
],
[
2500004.89562843,
-1010363.44216391
],
[
2333338.15125337,
-1010363.44216391
],
[
2250004.77906584,
-866025.807569065
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442806"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2250004.77906584,
577350.538379378
],
[
2333338.15125337,
721688.172974221
],
[
2500004.89562843,
721688.172974221
],
[
2583338.26781595,
577350.538379378
],
[
2500004.89562843,
433012.903784533
],
[
2333338.15125337,
433012.903784533
],
[
2250004.77906584,
577350.538379378
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442808"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2250004.77906584,
1154701.07675875
],
[
2333338.15125337,
1299038.7113536
],
[
2500004.89562843,
1299038.7113536
],
[
2583338.26781595,
1154701.07675875
],
[
2500004.89562843,
1010363.44216391
],
[
2333338.15125337,
1010363.44216391
],
[
2250004.77906584,
1154701.07675875
]
]
]
],
"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": "443138"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3750005.47844133,
1154701.07675875
],
[
3833338.85062886,
1299038.7113536
],
[
4000005.59500391,
1299038.7113536
],
[
4083338.96719144,
1154701.07675875
],
[
4000005.59500391,
1010363.44216391
],
[
3833338.85062886,
1010363.44216391
],
[
3750005.47844133,
1154701.07675875
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443306"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
4500005.82812908,
1876389.24973297
],
[
4583339.2003166,
2020726.88432782
],
[
4750005.94469166,
2020726.88432782
],
[
4833339.31687919,
1876389.24973297
],
[
4750005.94469166,
1732051.61513813
],
[
4583339.2003166,
1732051.61513813
],
[
4500005.82812908,
1876389.24973297
]
]
]
],
"type": "MultiPolygon"
}
}
],
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"type": "FeatureCollection"
}