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=248
{
"features": [
{
"properties": {
"pk": "441929"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-1749997.08593546,
1443376.34594844
],
[
-1666663.71374793,
1587713.98054329
],
[
-1499996.96937288,
1587713.98054329
],
[
-1416663.59718535,
1443376.34594844
],
[
-1499996.96937288,
1299038.7113536
],
[
-1666663.71374793,
1299038.7113536
],
[
-1749997.08593546,
1443376.34594844
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441984"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-1499996.96937288,
1299038.7113536
],
[
-1416663.59718535,
1443376.34594844
],
[
-1249996.8528103,
1443376.34594844
],
[
-1166663.48062277,
1299038.7113536
],
[
-1249996.8528103,
1154701.07675875
],
[
-1416663.59718535,
1154701.07675875
],
[
-1499996.96937288,
1299038.7113536
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441985"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-1499996.96937288,
1587713.98054329
],
[
-1416663.59718535,
1732051.61513813
],
[
-1249996.8528103,
1732051.61513813
],
[
-1166663.48062277,
1587713.98054329
],
[
-1249996.8528103,
1443376.34594844
],
[
-1416663.59718535,
1443376.34594844
],
[
-1499996.96937288,
1587713.98054329
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441986"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-1499996.96937288,
1876389.24973297
],
[
-1416663.59718535,
2020726.88432782
],
[
-1249996.8528103,
2020726.88432782
],
[
-1166663.48062277,
1876389.24973297
],
[
-1249996.8528103,
1732051.61513813
],
[
-1416663.59718535,
1732051.61513813
],
[
-1499996.96937288,
1876389.24973297
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442038"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-1249996.8528103,
1154701.07675875
],
[
-1166663.48062277,
1299038.7113536
],
[
-999996.736247716,
1299038.7113536
],
[
-916663.364060189,
1154701.07675875
],
[
-999996.736247716,
1010363.44216391
],
[
-1166663.48062277,
1010363.44216391
],
[
-1249996.8528103,
1154701.07675875
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442039"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-1249996.8528103,
1443376.34594844
],
[
-1166663.48062277,
1587713.98054329
],
[
-999996.736247716,
1587713.98054329
],
[
-916663.364060189,
1443376.34594844
],
[
-999996.736247716,
1299038.7113536
],
[
-1166663.48062277,
1299038.7113536
],
[
-1249996.8528103,
1443376.34594844
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442040"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-1249996.8528103,
1732051.61513813
],
[
-1166663.48062277,
1876389.24973297
],
[
-999996.736247716,
1876389.24973297
],
[
-916663.364060189,
1732051.61513813
],
[
-999996.736247716,
1587713.98054329
],
[
-1166663.48062277,
1587713.98054329
],
[
-1249996.8528103,
1732051.61513813
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442041"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-1249996.8528103,
2020726.88432782
],
[
-1166663.48062277,
2165064.51892266
],
[
-999996.736247716,
2165064.51892266
],
[
-916663.364060189,
2020726.88432782
],
[
-999996.736247716,
1876389.24973297
],
[
-1166663.48062277,
1876389.24973297
],
[
-1249996.8528103,
2020726.88432782
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442042"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-1249996.8528103,
2309402.15351751
],
[
-1166663.48062277,
2453739.78811235
],
[
-999996.736247716,
2453739.78811235
],
[
-916663.364060189,
2309402.15351751
],
[
-999996.736247716,
2165064.51892266
],
[
-1166663.48062277,
2165064.51892266
],
[
-1249996.8528103,
2309402.15351751
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442043"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-1249996.8528103,
2598077.4227072
],
[
-1166663.48062277,
2742415.05730204
],
[
-999996.736247716,
2742415.05730204
],
[
-916663.364060189,
2598077.4227072
],
[
-999996.736247716,
2453739.78811235
],
[
-1166663.48062277,
2453739.78811235
],
[
-1249996.8528103,
2598077.4227072
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442094"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-999996.736247716,
1299038.7113536
],
[
-916663.364060189,
1443376.34594844
],
[
-749996.619685135,
1443376.34594844
],
[
-666663.247497608,
1299038.7113536
],
[
-749996.619685135,
1154701.07675875
],
[
-916663.364060189,
1154701.07675875
],
[
-999996.736247716,
1299038.7113536
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442095"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-999996.736247716,
1587713.98054329
],
[
-916663.364060189,
1732051.61513813
],
[
-749996.619685135,
1732051.61513813
],
[
-666663.247497608,
1587713.98054329
],
[
-749996.619685135,
1443376.34594844
],
[
-916663.364060189,
1443376.34594844
],
[
-999996.736247716,
1587713.98054329
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442096"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-999996.736247716,
1876389.24973297
],
[
-916663.364060189,
2020726.88432782
],
[
-749996.619685135,
2020726.88432782
],
[
-666663.247497608,
1876389.24973297
],
[
-749996.619685135,
1732051.61513813
],
[
-916663.364060189,
1732051.61513813
],
[
-999996.736247716,
1876389.24973297
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442097"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-999996.736247716,
2165064.51892266
],
[
-916663.364060189,
2309402.15351751
],
[
-749996.619685135,
2309402.15351751
],
[
-666663.247497608,
2165064.51892266
],
[
-749996.619685135,
2020726.88432782
],
[
-916663.364060189,
2020726.88432782
],
[
-999996.736247716,
2165064.51892266
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442149"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-749996.619685135,
1443376.34594844
],
[
-666663.247497608,
1587713.98054329
],
[
-499996.503122553,
1587713.98054329
],
[
-416663.130935026,
1443376.34594844
],
[
-499996.503122553,
1299038.7113536
],
[
-666663.247497608,
1299038.7113536
],
[
-749996.619685135,
1443376.34594844
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442150"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-749996.619685135,
1732051.61513813
],
[
-666663.247497608,
1876389.24973297
],
[
-499996.503122553,
1876389.24973297
],
[
-416663.130935026,
1732051.61513813
],
[
-499996.503122553,
1587713.98054329
],
[
-666663.247497608,
1587713.98054329
],
[
-749996.619685135,
1732051.61513813
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442151"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-749996.619685135,
2020726.88432782
],
[
-666663.247497608,
2165064.51892266
],
[
-499996.503122553,
2165064.51892266
],
[
-416663.130935026,
2020726.88432782
],
[
-499996.503122553,
1876389.24973297
],
[
-666663.247497608,
1876389.24973297
],
[
-749996.619685135,
2020726.88432782
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442152"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-749996.619685135,
2309402.15351751
],
[
-666663.247497608,
2453739.78811235
],
[
-499996.503122553,
2453739.78811235
],
[
-416663.130935026,
2309402.15351751
],
[
-499996.503122553,
2165064.51892266
],
[
-666663.247497608,
2165064.51892266
],
[
-749996.619685135,
2309402.15351751
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442206"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-499996.503122553,
1876389.24973297
],
[
-416663.130935026,
2020726.88432782
],
[
-249996.386559972,
2020726.88432782
],
[
-166663.014372444,
1876389.24973297
],
[
-249996.386559972,
1732051.61513813
],
[
-416663.130935026,
1732051.61513813
],
[
-499996.503122553,
1876389.24973297
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442207"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-499996.503122553,
2165064.51892266
],
[
-416663.130935026,
2309402.15351751
],
[
-249996.386559972,
2309402.15351751
],
[
-166663.014372444,
2165064.51892266
],
[
-249996.386559972,
2020726.88432782
],
[
-416663.130935026,
2020726.88432782
],
[
-499996.503122553,
2165064.51892266
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442262"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-249996.386559972,
2309402.15351751
],
[
-166663.014372444,
2453739.78811235
],
[
3.73000261001289,
2453739.78811235
],
[
83337.1021901372,
2309402.15351751
],
[
3.73000261001289,
2165064.51892266
],
[
-166663.014372444,
2165064.51892266
],
[
-249996.386559972,
2309402.15351751
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442317"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3.73000261001289,
2165064.51892266
],
[
83337.1021901372,
2309402.15351751
],
[
250003.846565192,
2309402.15351751
],
[
333337.218752719,
2165064.51892266
],
[
250003.846565192,
2020726.88432782
],
[
83337.1021901372,
2020726.88432782
],
[
3.73000261001289,
2165064.51892266
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442318"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3.73000261001289,
2453739.78811235
],
[
83337.1021901372,
2598077.4227072
],
[
250003.846565192,
2598077.4227072
],
[
333337.218752719,
2453739.78811235
],
[
250003.846565192,
2309402.15351751
],
[
83337.1021901372,
2309402.15351751
],
[
3.73000261001289,
2453739.78811235
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442371"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
250003.846565192,
2020726.88432782
],
[
333337.218752719,
2165064.51892266
],
[
500003.963127773,
2165064.51892266
],
[
583337.3353153,
2020726.88432782
],
[
500003.963127773,
1876389.24973297
],
[
333337.218752719,
1876389.24973297
],
[
250003.846565192,
2020726.88432782
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442372"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
250003.846565192,
2309402.15351751
],
[
333337.218752719,
2453739.78811235
],
[
500003.963127773,
2453739.78811235
],
[
583337.3353153,
2309402.15351751
],
[
500003.963127773,
2165064.51892266
],
[
333337.218752719,
2165064.51892266
],
[
250003.846565192,
2309402.15351751
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442427"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
500003.963127773,
2165064.51892266
],
[
583337.3353153,
2309402.15351751
],
[
750004.079690354,
2309402.15351751
],
[
833337.451877881,
2165064.51892266
],
[
750004.079690354,
2020726.88432782
],
[
583337.3353153,
2020726.88432782
],
[
500003.963127773,
2165064.51892266
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442481"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
750004.079690354,
2020726.88432782
],
[
833337.451877881,
2165064.51892266
],
[
1000004.19625294,
2165064.51892266
],
[
1083337.56844046,
2020726.88432782
],
[
1000004.19625294,
1876389.24973297
],
[
833337.451877881,
1876389.24973297
],
[
750004.079690354,
2020726.88432782
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442536"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
1000004.19625294,
1876389.24973297
],
[
1083337.56844046,
2020726.88432782
],
[
1250004.31281552,
2020726.88432782
],
[
1333337.68500304,
1876389.24973297
],
[
1250004.31281552,
1732051.61513813
],
[
1083337.56844046,
1732051.61513813
],
[
1000004.19625294,
1876389.24973297
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442537"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
1000004.19625294,
2165064.51892266
],
[
1083337.56844046,
2309402.15351751
],
[
1250004.31281552,
2309402.15351751
],
[
1333337.68500304,
2165064.51892266
],
[
1250004.31281552,
2020726.88432782
],
[
1083337.56844046,
2020726.88432782
],
[
1000004.19625294,
2165064.51892266
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442590"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
1250004.31281552,
1732051.61513813
],
[
1333337.68500304,
1876389.24973297
],
[
1500004.4293781,
1876389.24973297
],
[
1583337.80156563,
1732051.61513813
],
[
1500004.4293781,
1587713.98054329
],
[
1333337.68500304,
1587713.98054329
],
[
1250004.31281552,
1732051.61513813
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442591"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
1250004.31281552,
2020726.88432782
],
[
1333337.68500304,
2165064.51892266
],
[
1500004.4293781,
2165064.51892266
],
[
1583337.80156563,
2020726.88432782
],
[
1500004.4293781,
1876389.24973297
],
[
1333337.68500304,
1876389.24973297
],
[
1250004.31281552,
2020726.88432782
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442646"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
1500004.4293781,
1876389.24973297
],
[
1583337.80156563,
2020726.88432782
],
[
1750004.54594068,
2020726.88432782
],
[
1833337.91812821,
1876389.24973297
],
[
1750004.54594068,
1732051.61513813
],
[
1583337.80156563,
1732051.61513813
],
[
1500004.4293781,
1876389.24973297
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442700"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
1750004.54594068,
1732051.61513813
],
[
1833337.91812821,
1876389.24973297
],
[
2000004.66250326,
1876389.24973297
],
[
2083338.03469079,
1732051.61513813
],
[
2000004.66250326,
1587713.98054329
],
[
1833337.91812821,
1587713.98054329
],
[
1750004.54594068,
1732051.61513813
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442755"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2000004.66250326,
1587713.98054329
],
[
2083338.03469079,
1732051.61513813
],
[
2250004.77906584,
1732051.61513813
],
[
2333338.15125337,
1587713.98054329
],
[
2250004.77906584,
1443376.34594844
],
[
2083338.03469079,
1443376.34594844
],
[
2000004.66250326,
1587713.98054329
]
]
]
],
"type": "MultiPolygon"
}
}
],
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"type": "FeatureCollection"
}