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=274
{
"type": "FeatureCollection",
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"features": [
{
"type": "Feature",
"properties": {
"pk": "441539"
},
"geometry": {
"type": "MultiPolygon",
"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": "Feature",
"properties": {
"pk": "442297"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
3.73000261001289,
-3608440.86487111
],
[
83337.1021901372,
-3464103.23027626
],
[
250003.846565192,
-3464103.23027626
],
[
333337.218752719,
-3608440.86487111
],
[
250003.846565192,
-3752778.49946595
],
[
83337.1021901372,
-3752778.49946595
],
[
3.73000261001289,
-3608440.86487111
]
]
]
]
}
}
]
}