Occurrence Grid
Process queries for HexGrid objects.
: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&dataset=685
{
"features": [
{
"properties": {
"pk": "443140"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3750005.47844133,
1732051.61513813
],
[
3833338.85062886,
1876389.24973297
],
[
4000005.59500391,
1876389.24973297
],
[
4083338.96719144,
1732051.61513813
],
[
4000005.59500391,
1587713.98054329
],
[
3833338.85062886,
1587713.98054329
],
[
3750005.47844133,
1732051.61513813
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443141"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3750005.47844133,
2020726.88432782
],
[
3833338.85062886,
2165064.51892266
],
[
4000005.59500391,
2165064.51892266
],
[
4083338.96719144,
2020726.88432782
],
[
4000005.59500391,
1876389.24973297
],
[
3833338.85062886,
1876389.24973297
],
[
3750005.47844133,
2020726.88432782
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443194"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
4000005.59500391,
1299038.7113536
],
[
4083338.96719144,
1443376.34594844
],
[
4250005.7115665,
1443376.34594844
],
[
4333339.08375402,
1299038.7113536
],
[
4250005.7115665,
1154701.07675875
],
[
4083338.96719144,
1154701.07675875
],
[
4000005.59500391,
1299038.7113536
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443195"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
4000005.59500391,
1587713.98054329
],
[
4083338.96719144,
1732051.61513813
],
[
4250005.7115665,
1732051.61513813
],
[
4333339.08375402,
1587713.98054329
],
[
4250005.7115665,
1443376.34594844
],
[
4083338.96719144,
1443376.34594844
],
[
4000005.59500391,
1587713.98054329
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443196"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
4000005.59500391,
1876389.24973297
],
[
4083338.96719144,
2020726.88432782
],
[
4250005.7115665,
2020726.88432782
],
[
4333339.08375402,
1876389.24973297
],
[
4250005.7115665,
1732051.61513813
],
[
4083338.96719144,
1732051.61513813
],
[
4000005.59500391,
1876389.24973297
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443197"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
4000005.59500391,
2165064.51892266
],
[
4083338.96719144,
2309402.15351751
],
[
4250005.7115665,
2309402.15351751
],
[
4333339.08375402,
2165064.51892266
],
[
4250005.7115665,
2020726.88432782
],
[
4083338.96719144,
2020726.88432782
],
[
4000005.59500391,
2165064.51892266
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443248"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
4250005.7115665,
1154701.07675875
],
[
4333339.08375402,
1299038.7113536
],
[
4500005.82812908,
1299038.7113536
],
[
4583339.2003166,
1154701.07675875
],
[
4500005.82812908,
1010363.44216391
],
[
4333339.08375402,
1010363.44216391
],
[
4250005.7115665,
1154701.07675875
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443249"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
4250005.7115665,
1443376.34594844
],
[
4333339.08375402,
1587713.98054329
],
[
4500005.82812908,
1587713.98054329
],
[
4583339.2003166,
1443376.34594844
],
[
4500005.82812908,
1299038.7113536
],
[
4333339.08375402,
1299038.7113536
],
[
4250005.7115665,
1443376.34594844
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443250"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
4250005.7115665,
1732051.61513813
],
[
4333339.08375402,
1876389.24973297
],
[
4500005.82812908,
1876389.24973297
],
[
4583339.2003166,
1732051.61513813
],
[
4500005.82812908,
1587713.98054329
],
[
4333339.08375402,
1587713.98054329
],
[
4250005.7115665,
1732051.61513813
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443251"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
4250005.7115665,
2020726.88432782
],
[
4333339.08375402,
2165064.51892266
],
[
4500005.82812908,
2165064.51892266
],
[
4583339.2003166,
2020726.88432782
],
[
4500005.82812908,
1876389.24973297
],
[
4333339.08375402,
1876389.24973297
],
[
4250005.7115665,
2020726.88432782
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443304"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
4500005.82812908,
1299038.7113536
],
[
4583339.2003166,
1443376.34594844
],
[
4750005.94469166,
1443376.34594844
],
[
4833339.31687919,
1299038.7113536
],
[
4750005.94469166,
1154701.07675875
],
[
4583339.2003166,
1154701.07675875
],
[
4500005.82812908,
1299038.7113536
]
]
]
],
"type": "MultiPolygon"
}
}
],
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"type": "FeatureCollection"
}