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=5213287
{
"features": [
{
"properties": {
"pk": "441224"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-4999998.60124902,
4185791.40325048
],
[
-4916665.22906149,
4330129.03784533
],
[
-4749998.48468644,
4330129.03784533
],
[
-4666665.11249891,
4185791.40325048
],
[
-4749998.48468644,
4041453.76865564
],
[
-4916665.22906149,
4041453.76865564
],
[
-4999998.60124902,
4185791.40325048
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441442"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-3999998.13499869,
3608440.86487111
],
[
-3916664.76281117,
3752778.49946595
],
[
-3749998.01843611,
3752778.49946595
],
[
-3666664.64624859,
3608440.86487111
],
[
-3749998.01843611,
3464103.23027626
],
[
-3916664.76281117,
3464103.23027626
],
[
-3999998.13499869,
3608440.86487111
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441549"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-3499997.90187353,
2742415.05730204
],
[
-3416664.529686,
2886752.69189689
],
[
-3249997.78531095,
2886752.69189689
],
[
-3166664.41312342,
2742415.05730204
],
[
-3249997.78531095,
2598077.4227072
],
[
-3416664.529686,
2598077.4227072
],
[
-3499997.90187353,
2742415.05730204
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441607"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-3249997.78531095,
3752778.49946595
],
[
-3166664.41312342,
3897116.13406079
],
[
-2999997.66874837,
3897116.13406079
],
[
-2916664.29656084,
3752778.49946595
],
[
-2999997.66874837,
3608440.86487111
],
[
-3166664.41312342,
3608440.86487111
],
[
-3249997.78531095,
3752778.49946595
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441635"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-2999997.66874837,
-4185791.40325048
],
[
-2916664.29656084,
-4041453.76865564
],
[
-2749997.55218579,
-4041453.76865564
],
[
-2666664.17999826,
-4185791.40325048
],
[
-2749997.55218579,
-4330129.03784533
],
[
-2916664.29656084,
-4330129.03784533
],
[
-2999997.66874837,
-4185791.40325048
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441912"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-1749997.08593546,
-3464103.23027626
],
[
-1666663.71374793,
-3319765.59568142
],
[
-1499996.96937288,
-3319765.59568142
],
[
-1416663.59718535,
-3464103.23027626
],
[
-1499996.96937288,
-3608440.86487111
],
[
-1666663.71374793,
-3608440.86487111
],
[
-1749997.08593546,
-3464103.23027626
]
]
]
],
"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": "442093"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-999996.736247716,
1010363.44216391
],
[
-916663.364060189,
1154701.07675875
],
[
-749996.619685135,
1154701.07675875
],
[
-666663.247497608,
1010363.44216391
],
[
-749996.619685135,
866025.807569066
],
[
-916663.364060189,
866025.807569066
],
[
-999996.736247716,
1010363.44216391
]
]
]
],
"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": "442146"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-749996.619685135,
577350.538379378
],
[
-666663.247497608,
721688.172974221
],
[
-499996.503122553,
721688.172974221
],
[
-416663.130935026,
577350.538379378
],
[
-499996.503122553,
433012.903784533
],
[
-666663.247497608,
433012.903784533
],
[
-749996.619685135,
577350.538379378
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442147"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-749996.619685135,
866025.807569066
],
[
-666663.247497608,
1010363.44216391
],
[
-499996.503122553,
1010363.44216391
],
[
-416663.130935026,
866025.807569066
],
[
-499996.503122553,
721688.172974221
],
[
-666663.247497608,
721688.172974221
],
[
-749996.619685135,
866025.807569066
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442201"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-499996.503122553,
433012.903784533
],
[
-416663.130935026,
577350.538379378
],
[
-249996.386559972,
577350.538379378
],
[
-166663.014372444,
433012.903784533
],
[
-249996.386559972,
288675.269189689
],
[
-416663.130935026,
288675.269189689
],
[
-499996.503122553,
433012.903784533
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442255"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-249996.386559972,
288675.269189689
],
[
-166663.014372444,
433012.903784533
],
[
3.73000261001289,
433012.903784533
],
[
83337.1021901372,
288675.269189689
],
[
3.73000261001289,
144337.634594845
],
[
-166663.014372444,
144337.634594845
],
[
-249996.386559972,
288675.269189689
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442518"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
1000004.19625294,
-3319765.59568142
],
[
1083337.56844046,
-3175427.96108657
],
[
1250004.31281552,
-3175427.96108657
],
[
1333337.68500304,
-3319765.59568142
],
[
1250004.31281552,
-3464103.23027626
],
[
1083337.56844046,
-3464103.23027626
],
[
1000004.19625294,
-3319765.59568142
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442906"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2750005.01219101,
-2309402.15351751
],
[
2833338.38437853,
-2165064.51892266
],
[
3000005.12875359,
-2165064.51892266
],
[
3083338.50094112,
-2309402.15351751
],
[
3000005.12875359,
-2453739.78811235
],
[
2833338.38437853,
-2453739.78811235
],
[
2750005.01219101,
-2309402.15351751
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442909"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2750005.01219101,
-1443376.34594844
],
[
2833338.38437853,
-1299038.7113536
],
[
3000005.12875359,
-1299038.7113536
],
[
3083338.50094112,
-1443376.34594844
],
[
3000005.12875359,
-1587713.98054329
],
[
2833338.38437853,
-1587713.98054329
],
[
2750005.01219101,
-1443376.34594844
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443414"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
5000006.06125424,
1299038.7113536
],
[
5083339.43344177,
1443376.34594844
],
[
5250006.17781682,
1443376.34594844
],
[
5333339.55000435,
1299038.7113536
],
[
5250006.17781682,
1154701.07675875
],
[
5083339.43344177,
1154701.07675875
],
[
5000006.06125424,
1299038.7113536
]
]
]
],
"type": "MultiPolygon"
}
}
],
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"type": "FeatureCollection"
}