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=3225689
{
"features": [
{
"properties": {
"pk": "441380"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-4249998.25156128,
1732051.61513813
],
[
-4166664.87937375,
1876389.24973297
],
[
-3999998.13499869,
1876389.24973297
],
[
-3916664.76281117,
1732051.61513813
],
[
-3999998.13499869,
1587713.98054329
],
[
-4166664.87937375,
1587713.98054329
],
[
-4249998.25156128,
1732051.61513813
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441921"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-1749997.08593546,
-866025.807569065
],
[
-1666663.71374793,
-721688.17297422
],
[
-1499996.96937288,
-721688.17297422
],
[
-1416663.59718535,
-866025.807569065
],
[
-1499996.96937288,
-1010363.44216391
],
[
-1666663.71374793,
-1010363.44216391
],
[
-1749997.08593546,
-866025.807569065
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442074"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-999996.736247716,
-4474466.67244017
],
[
-916663.364060189,
-4330129.03784533
],
[
-749996.619685135,
-4330129.03784533
],
[
-666663.247497608,
-4474466.67244017
],
[
-749996.619685135,
-4618804.30703502
],
[
-916663.364060189,
-4618804.30703502
],
[
-999996.736247716,
-4474466.67244017
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442134"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-749996.619685135,
-2886752.69189688
],
[
-666663.247497608,
-2742415.05730204
],
[
-499996.503122553,
-2742415.05730204
],
[
-416663.130935026,
-2886752.69189688
],
[
-499996.503122553,
-3031090.32649173
],
[
-666663.247497608,
-3031090.32649173
],
[
-749996.619685135,
-2886752.69189688
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442266"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-249996.386559972,
3464103.23027626
],
[
-166663.014372444,
3608440.86487111
],
[
3.73000261001289,
3608440.86487111
],
[
83337.1021901372,
3464103.23027626
],
[
3.73000261001289,
3319765.59568142
],
[
-166663.014372444,
3319765.59568142
],
[
-249996.386559972,
3464103.23027626
]
]
]
],
"type": "MultiPolygon"
}
}
],
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"type": "FeatureCollection"
}