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=308
{
"features": [
{
"properties": {
"pk": "442752"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2000004.66250326,
721688.172974221
],
[
2083338.03469079,
866025.807569066
],
[
2250004.77906584,
866025.807569066
],
[
2333338.15125337,
721688.172974221
],
[
2250004.77906584,
577350.538379378
],
[
2083338.03469079,
577350.538379378
],
[
2000004.66250326,
721688.172974221
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442806"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2250004.77906584,
577350.538379378
],
[
2333338.15125337,
721688.172974221
],
[
2500004.89562843,
721688.172974221
],
[
2583338.26781595,
577350.538379378
],
[
2500004.89562843,
433012.903784533
],
[
2333338.15125337,
433012.903784533
],
[
2250004.77906584,
577350.538379378
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442807"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2250004.77906584,
866025.807569066
],
[
2333338.15125337,
1010363.44216391
],
[
2500004.89562843,
1010363.44216391
],
[
2583338.26781595,
866025.807569066
],
[
2500004.89562843,
721688.172974221
],
[
2333338.15125337,
721688.172974221
],
[
2250004.77906584,
866025.807569066
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442808"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2250004.77906584,
1154701.07675875
],
[
2333338.15125337,
1299038.7113536
],
[
2500004.89562843,
1299038.7113536
],
[
2583338.26781595,
1154701.07675875
],
[
2500004.89562843,
1010363.44216391
],
[
2333338.15125337,
1010363.44216391
],
[
2250004.77906584,
1154701.07675875
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442809"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2250004.77906584,
1443376.34594844
],
[
2333338.15125337,
1587713.98054329
],
[
2500004.89562843,
1587713.98054329
],
[
2583338.26781595,
1443376.34594844
],
[
2500004.89562843,
1299038.7113536
],
[
2333338.15125337,
1299038.7113536
],
[
2250004.77906584,
1443376.34594844
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442856"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2500004.89562843,
-1010363.44216391
],
[
2583338.26781595,
-866025.807569065
],
[
2750005.01219101,
-866025.807569065
],
[
2833338.38437853,
-1010363.44216391
],
[
2750005.01219101,
-1154701.07675875
],
[
2583338.26781595,
-1154701.07675875
],
[
2500004.89562843,
-1010363.44216391
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442860"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2500004.89562843,
144337.634594845
],
[
2583338.26781595,
288675.269189689
],
[
2750005.01219101,
288675.269189689
],
[
2833338.38437853,
144337.634594845
],
[
2750005.01219101,
0.0
],
[
2583338.26781595,
0.0
],
[
2500004.89562843,
144337.634594845
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442861"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2500004.89562843,
433012.903784533
],
[
2583338.26781595,
577350.538379378
],
[
2750005.01219101,
577350.538379378
],
[
2833338.38437853,
433012.903784533
],
[
2750005.01219101,
288675.269189689
],
[
2583338.26781595,
288675.269189689
],
[
2500004.89562843,
433012.903784533
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442862"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2500004.89562843,
721688.172974221
],
[
2583338.26781595,
866025.807569066
],
[
2750005.01219101,
866025.807569066
],
[
2833338.38437853,
721688.172974221
],
[
2750005.01219101,
577350.538379378
],
[
2583338.26781595,
577350.538379378
],
[
2500004.89562843,
721688.172974221
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442863"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2500004.89562843,
1010363.44216391
],
[
2583338.26781595,
1154701.07675875
],
[
2750005.01219101,
1154701.07675875
],
[
2833338.38437853,
1010363.44216391
],
[
2750005.01219101,
866025.807569066
],
[
2583338.26781595,
866025.807569066
],
[
2500004.89562843,
1010363.44216391
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442864"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2500004.89562843,
1299038.7113536
],
[
2583338.26781595,
1443376.34594844
],
[
2750005.01219101,
1443376.34594844
],
[
2833338.38437853,
1299038.7113536
],
[
2750005.01219101,
1154701.07675875
],
[
2583338.26781595,
1154701.07675875
],
[
2500004.89562843,
1299038.7113536
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442865"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2500004.89562843,
1587713.98054329
],
[
2583338.26781595,
1732051.61513813
],
[
2750005.01219101,
1732051.61513813
],
[
2833338.38437853,
1587713.98054329
],
[
2750005.01219101,
1443376.34594844
],
[
2583338.26781595,
1443376.34594844
],
[
2500004.89562843,
1587713.98054329
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442914"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2750005.01219101,
0.0
],
[
2833338.38437853,
144337.634594845
],
[
3000005.12875359,
144337.634594845
],
[
3083338.50094112,
0.0
],
[
3000005.12875359,
-144337.634594844
],
[
2833338.38437853,
-144337.634594844
],
[
2750005.01219101,
0.0
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442915"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2750005.01219101,
288675.269189689
],
[
2833338.38437853,
433012.903784533
],
[
3000005.12875359,
433012.903784533
],
[
3083338.50094112,
288675.269189689
],
[
3000005.12875359,
144337.634594845
],
[
2833338.38437853,
144337.634594845
],
[
2750005.01219101,
288675.269189689
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442916"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2750005.01219101,
577350.538379378
],
[
2833338.38437853,
721688.172974221
],
[
3000005.12875359,
721688.172974221
],
[
3083338.50094112,
577350.538379378
],
[
3000005.12875359,
433012.903784533
],
[
2833338.38437853,
433012.903784533
],
[
2750005.01219101,
577350.538379378
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442917"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2750005.01219101,
866025.807569066
],
[
2833338.38437853,
1010363.44216391
],
[
3000005.12875359,
1010363.44216391
],
[
3083338.50094112,
866025.807569066
],
[
3000005.12875359,
721688.172974221
],
[
2833338.38437853,
721688.172974221
],
[
2750005.01219101,
866025.807569066
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442919"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2750005.01219101,
1443376.34594844
],
[
2833338.38437853,
1587713.98054329
],
[
3000005.12875359,
1587713.98054329
],
[
3083338.50094112,
1443376.34594844
],
[
3000005.12875359,
1299038.7113536
],
[
2833338.38437853,
1299038.7113536
],
[
2750005.01219101,
1443376.34594844
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442970"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3000005.12875359,
144337.634594845
],
[
3083338.50094112,
288675.269189689
],
[
3250005.24531617,
288675.269189689
],
[
3333338.6175037,
144337.634594845
],
[
3250005.24531617,
0.0
],
[
3083338.50094112,
0.0
],
[
3000005.12875359,
144337.634594845
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443132"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3750005.47844133,
-577350.538379377
],
[
3833338.85062886,
-433012.903784532
],
[
4000005.59500391,
-433012.903784532
],
[
4083338.96719144,
-577350.538379377
],
[
4000005.59500391,
-721688.17297422
],
[
3833338.85062886,
-721688.17297422
],
[
3750005.47844133,
-577350.538379377
]
]
]
],
"type": "MultiPolygon"
}
}
],
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"type": "FeatureCollection"
}