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=660
{
"features": [
{
"properties": {
"pk": "442631"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
1500004.4293781,
-2453739.78811235
],
[
1583337.80156563,
-2309402.15351751
],
[
1750004.54594068,
-2309402.15351751
],
[
1833337.91812821,
-2453739.78811235
],
[
1750004.54594068,
-2598077.4227072
],
[
1583337.80156563,
-2598077.4227072
],
[
1500004.4293781,
-2453739.78811235
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442632"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
1500004.4293781,
-2165064.51892266
],
[
1583337.80156563,
-2020726.88432782
],
[
1750004.54594068,
-2020726.88432782
],
[
1833337.91812821,
-2165064.51892266
],
[
1750004.54594068,
-2309402.15351751
],
[
1583337.80156563,
-2309402.15351751
],
[
1500004.4293781,
-2165064.51892266
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442686"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
1750004.54594068,
-2309402.15351751
],
[
1833337.91812821,
-2165064.51892266
],
[
2000004.66250326,
-2165064.51892266
],
[
2083338.03469079,
-2309402.15351751
],
[
2000004.66250326,
-2453739.78811235
],
[
1833337.91812821,
-2453739.78811235
],
[
1750004.54594068,
-2309402.15351751
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442687"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
1750004.54594068,
-2020726.88432782
],
[
1833337.91812821,
-1876389.24973297
],
[
2000004.66250326,
-1876389.24973297
],
[
2083338.03469079,
-2020726.88432782
],
[
2000004.66250326,
-2165064.51892266
],
[
1833337.91812821,
-2165064.51892266
],
[
1750004.54594068,
-2020726.88432782
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443034"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3250005.24531617,
2886752.69189689
],
[
3333338.6175037,
3031090.32649173
],
[
3500005.36187875,
3031090.32649173
],
[
3583338.73406628,
2886752.69189689
],
[
3500005.36187875,
2742415.05730204
],
[
3333338.6175037,
2742415.05730204
],
[
3250005.24531617,
2886752.69189689
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443085"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3500005.36187875,
1587713.98054329
],
[
3583338.73406628,
1732051.61513813
],
[
3750005.47844133,
1732051.61513813
],
[
3833338.85062886,
1587713.98054329
],
[
3750005.47844133,
1443376.34594844
],
[
3583338.73406628,
1443376.34594844
],
[
3500005.36187875,
1587713.98054329
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443089"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3500005.36187875,
2742415.05730204
],
[
3583338.73406628,
2886752.69189689
],
[
3750005.47844133,
2886752.69189689
],
[
3833338.85062886,
2742415.05730204
],
[
3750005.47844133,
2598077.4227072
],
[
3583338.73406628,
2598077.4227072
],
[
3500005.36187875,
2742415.05730204
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443090"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3500005.36187875,
3031090.32649173
],
[
3583338.73406628,
3175427.96108657
],
[
3750005.47844133,
3175427.96108657
],
[
3833338.85062886,
3031090.32649173
],
[
3750005.47844133,
2886752.69189689
],
[
3583338.73406628,
2886752.69189689
],
[
3500005.36187875,
3031090.32649173
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443091"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3500005.36187875,
3319765.59568142
],
[
3583338.73406628,
3464103.23027626
],
[
3750005.47844133,
3464103.23027626
],
[
3833338.85062886,
3319765.59568142
],
[
3750005.47844133,
3175427.96108657
],
[
3583338.73406628,
3175427.96108657
],
[
3500005.36187875,
3319765.59568142
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443139"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3750005.47844133,
1443376.34594844
],
[
3833338.85062886,
1587713.98054329
],
[
4000005.59500391,
1587713.98054329
],
[
4083338.96719144,
1443376.34594844
],
[
4000005.59500391,
1299038.7113536
],
[
3833338.85062886,
1299038.7113536
],
[
3750005.47844133,
1443376.34594844
]
]
]
],
"type": "MultiPolygon"
}
},
{
"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": "443143"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3750005.47844133,
2598077.4227072
],
[
3833338.85062886,
2742415.05730204
],
[
4000005.59500391,
2742415.05730204
],
[
4083338.96719144,
2598077.4227072
],
[
4000005.59500391,
2453739.78811235
],
[
3833338.85062886,
2453739.78811235
],
[
3750005.47844133,
2598077.4227072
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443144"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3750005.47844133,
2886752.69189689
],
[
3833338.85062886,
3031090.32649173
],
[
4000005.59500391,
3031090.32649173
],
[
4083338.96719144,
2886752.69189689
],
[
4000005.59500391,
2742415.05730204
],
[
3833338.85062886,
2742415.05730204
],
[
3750005.47844133,
2886752.69189689
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443145"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3750005.47844133,
3175427.96108657
],
[
3833338.85062886,
3319765.59568142
],
[
4000005.59500391,
3319765.59568142
],
[
4083338.96719144,
3175427.96108657
],
[
4000005.59500391,
3031090.32649173
],
[
3833338.85062886,
3031090.32649173
],
[
3750005.47844133,
3175427.96108657
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443146"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3750005.47844133,
3464103.23027626
],
[
3833338.85062886,
3608440.86487111
],
[
4000005.59500391,
3608440.86487111
],
[
4083338.96719144,
3464103.23027626
],
[
4000005.59500391,
3319765.59568142
],
[
3833338.85062886,
3319765.59568142
],
[
3750005.47844133,
3464103.23027626
]
]
]
],
"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": "443199"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
4000005.59500391,
2742415.05730204
],
[
4083338.96719144,
2886752.69189689
],
[
4250005.7115665,
2886752.69189689
],
[
4333339.08375402,
2742415.05730204
],
[
4250005.7115665,
2598077.4227072
],
[
4083338.96719144,
2598077.4227072
],
[
4000005.59500391,
2742415.05730204
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443200"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
4000005.59500391,
3031090.32649173
],
[
4083338.96719144,
3175427.96108657
],
[
4250005.7115665,
3175427.96108657
],
[
4333339.08375402,
3031090.32649173
],
[
4250005.7115665,
2886752.69189689
],
[
4083338.96719144,
2886752.69189689
],
[
4000005.59500391,
3031090.32649173
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443201"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
4000005.59500391,
3319765.59568142
],
[
4083338.96719144,
3464103.23027626
],
[
4250005.7115665,
3464103.23027626
],
[
4333339.08375402,
3319765.59568142
],
[
4250005.7115665,
3175427.96108657
],
[
4083338.96719144,
3175427.96108657
],
[
4000005.59500391,
3319765.59568142
]
]
]
],
"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"
}
},
{
"properties": {
"pk": "443305"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
4500005.82812908,
1587713.98054329
],
[
4583339.2003166,
1732051.61513813
],
[
4750005.94469166,
1732051.61513813
],
[
4833339.31687919,
1587713.98054329
],
[
4750005.94469166,
1443376.34594844
],
[
4583339.2003166,
1443376.34594844
],
[
4500005.82812908,
1587713.98054329
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443306"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
4500005.82812908,
1876389.24973297
],
[
4583339.2003166,
2020726.88432782
],
[
4750005.94469166,
2020726.88432782
],
[
4833339.31687919,
1876389.24973297
],
[
4750005.94469166,
1732051.61513813
],
[
4583339.2003166,
1732051.61513813
],
[
4500005.82812908,
1876389.24973297
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443307"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
4500005.82812908,
2165064.51892266
],
[
4583339.2003166,
2309402.15351751
],
[
4750005.94469166,
2309402.15351751
],
[
4833339.31687919,
2165064.51892266
],
[
4750005.94469166,
2020726.88432782
],
[
4583339.2003166,
2020726.88432782
],
[
4500005.82812908,
2165064.51892266
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443359"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
4750005.94469166,
1443376.34594844
],
[
4833339.31687919,
1587713.98054329
],
[
5000006.06125424,
1587713.98054329
],
[
5083339.43344177,
1443376.34594844
],
[
5000006.06125424,
1299038.7113536
],
[
4833339.31687919,
1299038.7113536
],
[
4750005.94469166,
1443376.34594844
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443360"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
4750005.94469166,
1732051.61513813
],
[
4833339.31687919,
1876389.24973297
],
[
5000006.06125424,
1876389.24973297
],
[
5083339.43344177,
1732051.61513813
],
[
5000006.06125424,
1587713.98054329
],
[
4833339.31687919,
1587713.98054329
],
[
4750005.94469166,
1732051.61513813
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443468"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
5250006.17781682,
1154701.07675875
],
[
5333339.55000435,
1299038.7113536
],
[
5500006.2943794,
1299038.7113536
],
[
5583339.66656693,
1154701.07675875
],
[
5500006.2943794,
1010363.44216391
],
[
5333339.55000435,
1010363.44216391
],
[
5250006.17781682,
1154701.07675875
]
]
]
],
"type": "MultiPolygon"
}
}
],
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"type": "FeatureCollection"
}