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=9379575
{
"type": "FeatureCollection",
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"features": [
{
"type": "Feature",
"properties": {
"pk": "442319"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
3.73000261001289,
2742415.05730204
],
[
83337.1021901372,
2886752.69189689
],
[
250003.846565192,
2886752.69189689
],
[
333337.218752719,
2742415.05730204
],
[
250003.846565192,
2598077.4227072
],
[
83337.1021901372,
2598077.4227072
],
[
3.73000261001289,
2742415.05730204
]
]
]
]
}
}
]
}