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/?taxon=9732619
{
"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": "441763"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-2499997.43562321,
1010363.44216391
],
[
-2416664.06343568,
1154701.07675875
],
[
-2249997.31906062,
1154701.07675875
],
[
-2166663.9468731,
1010363.44216391
],
[
-2249997.31906062,
866025.807569066
],
[
-2416664.06343568,
866025.807569066
],
[
-2499997.43562321,
1010363.44216391
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "441919"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-1749997.08593546,
-1443376.34594844
],
[
-1666663.71374793,
-1299038.7113536
],
[
-1499996.96937288,
-1299038.7113536
],
[
-1416663.59718535,
-1443376.34594844
],
[
-1499996.96937288,
-1587713.98054329
],
[
-1666663.71374793,
-1587713.98054329
],
[
-1749997.08593546,
-1443376.34594844
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "441975"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-1499996.96937288,
-1299038.7113536
],
[
-1416663.59718535,
-1154701.07675875
],
[
-1249996.8528103,
-1154701.07675875
],
[
-1166663.48062277,
-1299038.7113536
],
[
-1249996.8528103,
-1443376.34594844
],
[
-1416663.59718535,
-1443376.34594844
],
[
-1499996.96937288,
-1299038.7113536
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "442135"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-749996.619685135,
-2598077.4227072
],
[
-666663.247497608,
-2453739.78811235
],
[
-499996.503122553,
-2453739.78811235
],
[
-416663.130935026,
-2598077.4227072
],
[
-499996.503122553,
-2742415.05730204
],
[
-666663.247497608,
-2742415.05730204
],
[
-749996.619685135,
-2598077.4227072
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "442139"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-749996.619685135,
-1443376.34594844
],
[
-666663.247497608,
-1299038.7113536
],
[
-499996.503122553,
-1299038.7113536
],
[
-416663.130935026,
-1443376.34594844
],
[
-499996.503122553,
-1587713.98054329
],
[
-666663.247497608,
-1587713.98054329
],
[
-749996.619685135,
-1443376.34594844
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "442194"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-499996.503122553,
-1587713.98054329
],
[
-416663.130935026,
-1443376.34594844
],
[
-249996.386559972,
-1443376.34594844
],
[
-166663.014372444,
-1587713.98054329
],
[
-249996.386559972,
-1732051.61513813
],
[
-416663.130935026,
-1732051.61513813
],
[
-499996.503122553,
-1587713.98054329
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "442195"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-499996.503122553,
-1299038.7113536
],
[
-416663.130935026,
-1154701.07675875
],
[
-249996.386559972,
-1154701.07675875
],
[
-166663.014372444,
-1299038.7113536
],
[
-249996.386559972,
-1443376.34594844
],
[
-416663.130935026,
-1443376.34594844
],
[
-499996.503122553,
-1299038.7113536
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "442846"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
2500004.89562843,
-3897116.13406079
],
[
2583338.26781595,
-3752778.49946595
],
[
2750005.01219101,
-3752778.49946595
],
[
2833338.38437853,
-3897116.13406079
],
[
2750005.01219101,
-4041453.76865564
],
[
2583338.26781595,
-4041453.76865564
],
[
2500004.89562843,
-3897116.13406079
]
]
]
]
}
}
]
}