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&taxon=7661040
{
"features": [
{
"properties": {
"pk": "442359"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
250003.846565192,
-1443376.34594844
],
[
333337.218752719,
-1299038.7113536
],
[
500003.963127773,
-1299038.7113536
],
[
583337.3353153,
-1443376.34594844
],
[
500003.963127773,
-1587713.98054329
],
[
333337.218752719,
-1587713.98054329
],
[
250003.846565192,
-1443376.34594844
]
]
]
],
"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": "442577"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
1250004.31281552,
-2020726.88432782
],
[
1333337.68500304,
-1876389.24973297
],
[
1500004.4293781,
-1876389.24973297
],
[
1583337.80156563,
-2020726.88432782
],
[
1500004.4293781,
-2165064.51892266
],
[
1333337.68500304,
-2165064.51892266
],
[
1250004.31281552,
-2020726.88432782
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442592"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
1250004.31281552,
2309402.15351751
],
[
1333337.68500304,
2453739.78811235
],
[
1500004.4293781,
2453739.78811235
],
[
1583337.80156563,
2309402.15351751
],
[
1500004.4293781,
2165064.51892266
],
[
1333337.68500304,
2165064.51892266
],
[
1250004.31281552,
2309402.15351751
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442593"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
1250004.31281552,
2598077.4227072
],
[
1333337.68500304,
2742415.05730204
],
[
1500004.4293781,
2742415.05730204
],
[
1583337.80156563,
2598077.4227072
],
[
1500004.4293781,
2453739.78811235
],
[
1333337.68500304,
2453739.78811235
],
[
1250004.31281552,
2598077.4227072
]
]
]
],
"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": "442633"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
1500004.4293781,
-1876389.24973297
],
[
1583337.80156563,
-1732051.61513813
],
[
1750004.54594068,
-1732051.61513813
],
[
1833337.91812821,
-1876389.24973297
],
[
1750004.54594068,
-2020726.88432782
],
[
1583337.80156563,
-2020726.88432782
],
[
1500004.4293781,
-1876389.24973297
]
]
]
],
"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": "442647"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
1500004.4293781,
2165064.51892266
],
[
1583337.80156563,
2309402.15351751
],
[
1750004.54594068,
2309402.15351751
],
[
1833337.91812821,
2165064.51892266
],
[
1750004.54594068,
2020726.88432782
],
[
1583337.80156563,
2020726.88432782
],
[
1500004.4293781,
2165064.51892266
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442648"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
1500004.4293781,
2453739.78811235
],
[
1583337.80156563,
2598077.4227072
],
[
1750004.54594068,
2598077.4227072
],
[
1833337.91812821,
2453739.78811235
],
[
1750004.54594068,
2309402.15351751
],
[
1583337.80156563,
2309402.15351751
],
[
1500004.4293781,
2453739.78811235
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442649"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
1500004.4293781,
2742415.05730204
],
[
1583337.80156563,
2886752.69189689
],
[
1750004.54594068,
2886752.69189689
],
[
1833337.91812821,
2742415.05730204
],
[
1750004.54594068,
2598077.4227072
],
[
1583337.80156563,
2598077.4227072
],
[
1500004.4293781,
2742415.05730204
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442697"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
1750004.54594068,
866025.807569066
],
[
1833337.91812821,
1010363.44216391
],
[
2000004.66250326,
1010363.44216391
],
[
2083338.03469079,
866025.807569066
],
[
2000004.66250326,
721688.172974221
],
[
1833337.91812821,
721688.172974221
],
[
1750004.54594068,
866025.807569066
]
]
]
],
"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": "442702"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
1750004.54594068,
2309402.15351751
],
[
1833337.91812821,
2453739.78811235
],
[
2000004.66250326,
2453739.78811235
],
[
2083338.03469079,
2309402.15351751
],
[
2000004.66250326,
2165064.51892266
],
[
1833337.91812821,
2165064.51892266
],
[
1750004.54594068,
2309402.15351751
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442754"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2000004.66250326,
1299038.7113536
],
[
2083338.03469079,
1443376.34594844
],
[
2250004.77906584,
1443376.34594844
],
[
2333338.15125337,
1299038.7113536
],
[
2250004.77906584,
1154701.07675875
],
[
2083338.03469079,
1154701.07675875
],
[
2000004.66250326,
1299038.7113536
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442757"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2000004.66250326,
2165064.51892266
],
[
2083338.03469079,
2309402.15351751
],
[
2250004.77906584,
2309402.15351751
],
[
2333338.15125337,
2165064.51892266
],
[
2250004.77906584,
2020726.88432782
],
[
2083338.03469079,
2020726.88432782
],
[
2000004.66250326,
2165064.51892266
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442793"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2250004.77906584,
-3175427.96108657
],
[
2333338.15125337,
-3031090.32649173
],
[
2500004.89562843,
-3031090.32649173
],
[
2583338.26781595,
-3175427.96108657
],
[
2500004.89562843,
-3319765.59568142
],
[
2333338.15125337,
-3319765.59568142
],
[
2250004.77906584,
-3175427.96108657
]
]
]
],
"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": "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": "442810"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2250004.77906584,
1732051.61513813
],
[
2333338.15125337,
1876389.24973297
],
[
2500004.89562843,
1876389.24973297
],
[
2583338.26781595,
1732051.61513813
],
[
2500004.89562843,
1587713.98054329
],
[
2333338.15125337,
1587713.98054329
],
[
2250004.77906584,
1732051.61513813
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442811"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2250004.77906584,
2020726.88432782
],
[
2333338.15125337,
2165064.51892266
],
[
2500004.89562843,
2165064.51892266
],
[
2583338.26781595,
2020726.88432782
],
[
2500004.89562843,
1876389.24973297
],
[
2333338.15125337,
1876389.24973297
],
[
2250004.77906584,
2020726.88432782
]
]
]
],
"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": "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": "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": "442918"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2750005.01219101,
1154701.07675875
],
[
2833338.38437853,
1299038.7113536
],
[
3000005.12875359,
1299038.7113536
],
[
3083338.50094112,
1154701.07675875
],
[
3000005.12875359,
1010363.44216391
],
[
2833338.38437853,
1010363.44216391
],
[
2750005.01219101,
1154701.07675875
]
]
]
],
"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": "442972"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3000005.12875359,
721688.172974221
],
[
3083338.50094112,
866025.807569066
],
[
3250005.24531617,
866025.807569066
],
[
3333338.6175037,
721688.172974221
],
[
3250005.24531617,
577350.538379378
],
[
3083338.50094112,
577350.538379378
],
[
3000005.12875359,
721688.172974221
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442973"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3000005.12875359,
1010363.44216391
],
[
3083338.50094112,
1154701.07675875
],
[
3250005.24531617,
1154701.07675875
],
[
3333338.6175037,
1010363.44216391
],
[
3250005.24531617,
866025.807569066
],
[
3083338.50094112,
866025.807569066
],
[
3000005.12875359,
1010363.44216391
]
]
]
],
"type": "MultiPolygon"
}
}
],
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"type": "FeatureCollection"
}