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=7927033
{
"type": "FeatureCollection",
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"features": [
{
"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": "442245"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-249996.386559972,
-2598077.4227072
],
[
-166663.014372444,
-2453739.78811235
],
[
3.73000261001289,
-2453739.78811235
],
[
83337.1021901372,
-2598077.4227072
],
[
3.73000261001289,
-2742415.05730204
],
[
-166663.014372444,
-2742415.05730204
],
[
-249996.386559972,
-2598077.4227072
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "442304"
},
"geometry": {
"type": "MultiPolygon",
"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": "Feature",
"properties": {
"pk": "442355"
},
"geometry": {
"type": "MultiPolygon",
"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": "Feature",
"properties": {
"pk": "442360"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
250003.846565192,
-1154701.07675875
],
[
333337.218752719,
-1010363.44216391
],
[
500003.963127773,
-1010363.44216391
],
[
583337.3353153,
-1154701.07675875
],
[
500003.963127773,
-1299038.7113536
],
[
333337.218752719,
-1299038.7113536
],
[
250003.846565192,
-1154701.07675875
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "442734"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
2000004.66250326,
-4474466.67244017
],
[
2083338.03469079,
-4330129.03784533
],
[
2250004.77906584,
-4330129.03784533
],
[
2333338.15125337,
-4474466.67244017
],
[
2250004.77906584,
-4618804.30703502
],
[
2083338.03469079,
-4618804.30703502
],
[
2000004.66250326,
-4474466.67244017
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "442738"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
2000004.66250326,
-3319765.59568142
],
[
2083338.03469079,
-3175427.96108657
],
[
2250004.77906584,
-3175427.96108657
],
[
2333338.15125337,
-3319765.59568142
],
[
2250004.77906584,
-3464103.23027626
],
[
2083338.03469079,
-3464103.23027626
],
[
2000004.66250326,
-3319765.59568142
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "442788"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
2250004.77906584,
-4618804.30703502
],
[
2333338.15125337,
-4474466.67244017
],
[
2500004.89562843,
-4474466.67244017
],
[
2583338.26781595,
-4618804.30703502
],
[
2500004.89562843,
-4763141.94162986
],
[
2333338.15125337,
-4763141.94162986
],
[
2250004.77906584,
-4618804.30703502
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "442956"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
3000005.12875359,
-3897116.13406079
],
[
3083338.50094112,
-3752778.49946595
],
[
3250005.24531617,
-3752778.49946595
],
[
3333338.6175037,
-3897116.13406079
],
[
3250005.24531617,
-4041453.76865564
],
[
3083338.50094112,
-4041453.76865564
],
[
3000005.12875359,
-3897116.13406079
]
]
]
]
}
}
]
}