Occurrence Grid
Process queries for HexGrid objects. Will be deprecated in future version :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=2331616
{
"type": "FeatureCollection",
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"features": [
{
"type": "Feature",
"properties": {
"pk": "441386"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-4249998.25156128,
3464103.23027626
],
[
-4166664.87937375,
3608440.86487111
],
[
-3999998.13499869,
3608440.86487111
],
[
-3916664.76281117,
3464103.23027626
],
[
-3999998.13499869,
3319765.59568142
],
[
-4166664.87937375,
3319765.59568142
],
[
-4249998.25156128,
3464103.23027626
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "441546"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-3499997.90187353,
1876389.24973297
],
[
-3416664.529686,
2020726.88432782
],
[
-3249997.78531095,
2020726.88432782
],
[
-3166664.41312342,
1876389.24973297
],
[
-3249997.78531095,
1732051.61513813
],
[
-3416664.529686,
1732051.61513813
],
[
-3499997.90187353,
1876389.24973297
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "441600"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-3249997.78531095,
1732051.61513813
],
[
-3166664.41312342,
1876389.24973297
],
[
-2999997.66874837,
1876389.24973297
],
[
-2916664.29656084,
1732051.61513813
],
[
-2999997.66874837,
1587713.98054329
],
[
-3166664.41312342,
1587713.98054329
],
[
-3249997.78531095,
1732051.61513813
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "441708"
},
"geometry": {
"type": "MultiPolygon",
"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": "Feature",
"properties": {
"pk": "441936"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-1749997.08593546,
3464103.23027626
],
[
-1666663.71374793,
3608440.86487111
],
[
-1499996.96937288,
3608440.86487111
],
[
-1416663.59718535,
3464103.23027626
],
[
-1499996.96937288,
3319765.59568142
],
[
-1666663.71374793,
3319765.59568142
],
[
-1749997.08593546,
3464103.23027626
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "441992"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-1499996.96937288,
3608440.86487111
],
[
-1416663.59718535,
3752778.49946595
],
[
-1249996.8528103,
3752778.49946595
],
[
-1166663.48062277,
3608440.86487111
],
[
-1249996.8528103,
3464103.23027626
],
[
-1416663.59718535,
3464103.23027626
],
[
-1499996.96937288,
3608440.86487111
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "443084"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
3500005.36187875,
1299038.7113536
],
[
3583338.73406628,
1443376.34594844
],
[
3750005.47844133,
1443376.34594844
],
[
3833338.85062886,
1299038.7113536
],
[
3750005.47844133,
1154701.07675875
],
[
3583338.73406628,
1154701.07675875
],
[
3500005.36187875,
1299038.7113536
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "443091"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
3500005.36187875,
3319765.59568142
],
[
3583338.73406628,
3464103.23027626
],
[
3750005.47844133,
3464103.23027626
],
[
3833338.85062886,
3319765.59568142
],
[
3750005.47844133,
3175427.96108657
],
[
3583338.73406628,
3175427.96108657
],
[
3500005.36187875,
3319765.59568142
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "443251"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
4250005.7115665,
2020726.88432782
],
[
4333339.08375402,
2165064.51892266
],
[
4500005.82812908,
2165064.51892266
],
[
4583339.2003166,
2020726.88432782
],
[
4500005.82812908,
1876389.24973297
],
[
4333339.08375402,
1876389.24973297
],
[
4250005.7115665,
2020726.88432782
]
]
]
]
}
}
]
}