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=7679504
{
"type": "FeatureCollection",
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"features": [
{
"type": "Feature",
"properties": {
"pk": "441123"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-5499998.83437418,
6783868.82595768
],
[
-5416665.46218666,
6928206.46055252
],
[
-5249998.7178116,
6928206.46055252
],
[
-5166665.34562408,
6783868.82595768
],
[
-5249998.7178116,
6639531.19136284
],
[
-5416665.46218666,
6639531.19136284
],
[
-5499998.83437418,
6783868.82595768
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "441178"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-5249998.7178116,
6928206.46055252
],
[
-5166665.34562408,
7072544.09514737
],
[
-4999998.60124902,
7072544.09514737
],
[
-4916665.22906149,
6928206.46055252
],
[
-4999998.60124902,
6783868.82595768
],
[
-5166665.34562408,
6783868.82595768
],
[
-5249998.7178116,
6928206.46055252
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "441235"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-4999998.60124902,
7361219.36433706
],
[
-4916665.22906149,
7505556.9989319
],
[
-4749998.48468644,
7505556.9989319
],
[
-4666665.11249891,
7361219.36433706
],
[
-4749998.48468644,
7216881.72974221
],
[
-4916665.22906149,
7216881.72974221
],
[
-4999998.60124902,
7361219.36433706
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "441395"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-4249998.25156128,
6062180.65298346
],
[
-4166664.87937375,
6206518.2875783
],
[
-3999998.13499869,
6206518.2875783
],
[
-3916664.76281117,
6062180.65298346
],
[
-3999998.13499869,
5917843.01838861
],
[
-4166664.87937375,
5917843.01838861
],
[
-4249998.25156128,
6062180.65298346
]
]
]
]
}
}
]
}