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=293
{
"features": [
{
"properties": {
"pk": "441437"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-3999998.13499869,
2165064.51892266
],
[
-3916664.76281117,
2309402.15351751
],
[
-3749998.01843611,
2309402.15351751
],
[
-3666664.64624859,
2165064.51892266
],
[
-3749998.01843611,
2020726.88432782
],
[
-3916664.76281117,
2020726.88432782
],
[
-3999998.13499869,
2165064.51892266
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441708"
},
"type": "Feature",
"geometry": {
"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": "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": "442321"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3.73000261001289,
3319765.59568142
],
[
83337.1021901372,
3464103.23027626
],
[
250003.846565192,
3464103.23027626
],
[
333337.218752719,
3319765.59568142
],
[
250003.846565192,
3175427.96108657
],
[
83337.1021901372,
3175427.96108657
],
[
3.73000261001289,
3319765.59568142
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442326"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3.73000261001289,
4763141.94162986
],
[
83337.1021901372,
4907479.57622471
],
[
250003.846565192,
4907479.57622471
],
[
333337.218752719,
4763141.94162986
],
[
250003.846565192,
4618804.30703502
],
[
83337.1021901372,
4618804.30703502
],
[
3.73000261001289,
4763141.94162986
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442814"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2250004.77906584,
2886752.69189689
],
[
2333338.15125337,
3031090.32649173
],
[
2500004.89562843,
3031090.32649173
],
[
2583338.26781595,
2886752.69189689
],
[
2500004.89562843,
2742415.05730204
],
[
2333338.15125337,
2742415.05730204
],
[
2250004.77906584,
2886752.69189689
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442815"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2250004.77906584,
3175427.96108657
],
[
2333338.15125337,
3319765.59568142
],
[
2500004.89562843,
3319765.59568142
],
[
2583338.26781595,
3175427.96108657
],
[
2500004.89562843,
3031090.32649173
],
[
2333338.15125337,
3031090.32649173
],
[
2250004.77906584,
3175427.96108657
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442819"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2250004.77906584,
4330129.03784533
],
[
2333338.15125337,
4474466.67244017
],
[
2500004.89562843,
4474466.67244017
],
[
2583338.26781595,
4330129.03784533
],
[
2500004.89562843,
4185791.40325048
],
[
2333338.15125337,
4185791.40325048
],
[
2250004.77906584,
4330129.03784533
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442927"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2750005.01219101,
3752778.49946595
],
[
2833338.38437853,
3897116.13406079
],
[
3000005.12875359,
3897116.13406079
],
[
3083338.50094112,
3752778.49946595
],
[
3000005.12875359,
3608440.86487111
],
[
2833338.38437853,
3608440.86487111
],
[
2750005.01219101,
3752778.49946595
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442928"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2750005.01219101,
4041453.76865564
],
[
2833338.38437853,
4185791.40325048
],
[
3000005.12875359,
4185791.40325048
],
[
3083338.50094112,
4041453.76865564
],
[
3000005.12875359,
3897116.13406079
],
[
2833338.38437853,
3897116.13406079
],
[
2750005.01219101,
4041453.76865564
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442983"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3000005.12875359,
3897116.13406079
],
[
3083338.50094112,
4041453.76865564
],
[
3250005.24531617,
4041453.76865564
],
[
3333338.6175037,
3897116.13406079
],
[
3250005.24531617,
3752778.49946595
],
[
3083338.50094112,
3752778.49946595
],
[
3000005.12875359,
3897116.13406079
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442984"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3000005.12875359,
4185791.40325048
],
[
3083338.50094112,
4330129.03784533
],
[
3250005.24531617,
4330129.03784533
],
[
3333338.6175037,
4185791.40325048
],
[
3250005.24531617,
4041453.76865564
],
[
3083338.50094112,
4041453.76865564
],
[
3000005.12875359,
4185791.40325048
]
]
]
],
"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": "443138"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3750005.47844133,
1154701.07675875
],
[
3833338.85062886,
1299038.7113536
],
[
4000005.59500391,
1299038.7113536
],
[
4083338.96719144,
1154701.07675875
],
[
4000005.59500391,
1010363.44216391
],
[
3833338.85062886,
1010363.44216391
],
[
3750005.47844133,
1154701.07675875
]
]
]
],
"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": "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": "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": "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": "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"
}
}
],
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"type": "FeatureCollection"
}