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=2114834
{
"features": [
{
"properties": {
"pk": "441606"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-3249997.78531095,
3464103.23027626
],
[
-3166664.41312342,
3608440.86487111
],
[
-2999997.66874837,
3608440.86487111
],
[
-2916664.29656084,
3464103.23027626
],
[
-2999997.66874837,
3319765.59568142
],
[
-3166664.41312342,
3319765.59568142
],
[
-3249997.78531095,
3464103.23027626
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441660"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-2999997.66874837,
3031090.32649173
],
[
-2916664.29656084,
3175427.96108657
],
[
-2749997.55218579,
3175427.96108657
],
[
-2666664.17999826,
3031090.32649173
],
[
-2749997.55218579,
2886752.69189689
],
[
-2916664.29656084,
2886752.69189689
],
[
-2999997.66874837,
3031090.32649173
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441771"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-2499997.43562321,
3319765.59568142
],
[
-2416664.06343568,
3464103.23027626
],
[
-2249997.31906062,
3464103.23027626
],
[
-2166663.9468731,
3319765.59568142
],
[
-2249997.31906062,
3175427.96108657
],
[
-2416664.06343568,
3175427.96108657
],
[
-2499997.43562321,
3319765.59568142
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442345"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
250003.846565192,
-5484830.11460408
],
[
333337.218752719,
-5340492.48000924
],
[
500003.963127773,
-5340492.48000924
],
[
583337.3353153,
-5484830.11460408
],
[
500003.963127773,
-5629167.74919892
],
[
333337.218752719,
-5629167.74919892
],
[
250003.846565192,
-5484830.11460408
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442346"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
250003.846565192,
-5196154.84541439
],
[
333337.218752719,
-5051817.21081955
],
[
500003.963127773,
-5051817.21081955
],
[
583337.3353153,
-5196154.84541439
],
[
500003.963127773,
-5340492.48000924
],
[
333337.218752719,
-5340492.48000924
],
[
250003.846565192,
-5196154.84541439
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442682"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
1750004.54594068,
-3464103.23027626
],
[
1833337.91812821,
-3319765.59568142
],
[
2000004.66250326,
-3319765.59568142
],
[
2083338.03469079,
-3464103.23027626
],
[
2000004.66250326,
-3608440.86487111
],
[
1833337.91812821,
-3608440.86487111
],
[
1750004.54594068,
-3464103.23027626
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442708"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
1750004.54594068,
4041453.76865564
],
[
1833337.91812821,
4185791.40325048
],
[
2000004.66250326,
4185791.40325048
],
[
2083338.03469079,
4041453.76865564
],
[
2000004.66250326,
3897116.13406079
],
[
1833337.91812821,
3897116.13406079
],
[
1750004.54594068,
4041453.76865564
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442736"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2000004.66250326,
-3897116.13406079
],
[
2083338.03469079,
-3752778.49946595
],
[
2250004.77906584,
-3752778.49946595
],
[
2333338.15125337,
-3897116.13406079
],
[
2250004.77906584,
-4041453.76865564
],
[
2083338.03469079,
-4041453.76865564
],
[
2000004.66250326,
-3897116.13406079
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442790"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2250004.77906584,
-4041453.76865564
],
[
2333338.15125337,
-3897116.13406079
],
[
2500004.89562843,
-3897116.13406079
],
[
2583338.26781595,
-4041453.76865564
],
[
2500004.89562843,
-4185791.40325048
],
[
2333338.15125337,
-4185791.40325048
],
[
2250004.77906584,
-4041453.76865564
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442791"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2250004.77906584,
-3752778.49946595
],
[
2333338.15125337,
-3608440.86487111
],
[
2500004.89562843,
-3608440.86487111
],
[
2583338.26781595,
-3752778.49946595
],
[
2500004.89562843,
-3897116.13406079
],
[
2333338.15125337,
-3897116.13406079
],
[
2250004.77906584,
-3752778.49946595
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442847"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2500004.89562843,
-3608440.86487111
],
[
2583338.26781595,
-3464103.23027626
],
[
2750005.01219101,
-3464103.23027626
],
[
2833338.38437853,
-3608440.86487111
],
[
2750005.01219101,
-3752778.49946595
],
[
2583338.26781595,
-3752778.49946595
],
[
2500004.89562843,
-3608440.86487111
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442899"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2750005.01219101,
-4330129.03784533
],
[
2833338.38437853,
-4185791.40325048
],
[
3000005.12875359,
-4185791.40325048
],
[
3083338.50094112,
-4330129.03784533
],
[
3000005.12875359,
-4474466.67244017
],
[
2833338.38437853,
-4474466.67244017
],
[
2750005.01219101,
-4330129.03784533
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442901"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2750005.01219101,
-3752778.49946595
],
[
2833338.38437853,
-3608440.86487111
],
[
3000005.12875359,
-3608440.86487111
],
[
3083338.50094112,
-3752778.49946595
],
[
3000005.12875359,
-3897116.13406079
],
[
2833338.38437853,
-3897116.13406079
],
[
2750005.01219101,
-3752778.49946595
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442902"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2750005.01219101,
-3464103.23027626
],
[
2833338.38437853,
-3319765.59568142
],
[
3000005.12875359,
-3319765.59568142
],
[
3083338.50094112,
-3464103.23027626
],
[
3000005.12875359,
-3608440.86487111
],
[
2833338.38437853,
-3608440.86487111
],
[
2750005.01219101,
-3464103.23027626
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442957"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3000005.12875359,
-3608440.86487111
],
[
3083338.50094112,
-3464103.23027626
],
[
3250005.24531617,
-3464103.23027626
],
[
3333338.6175037,
-3608440.86487111
],
[
3250005.24531617,
-3752778.49946595
],
[
3083338.50094112,
-3752778.49946595
],
[
3000005.12875359,
-3608440.86487111
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443012"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3250005.24531617,
-3464103.23027626
],
[
3333338.6175037,
-3319765.59568142
],
[
3500005.36187875,
-3319765.59568142
],
[
3583338.73406628,
-3464103.23027626
],
[
3500005.36187875,
-3608440.86487111
],
[
3333338.6175037,
-3608440.86487111
],
[
3250005.24531617,
-3464103.23027626
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443013"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3250005.24531617,
-3175427.96108657
],
[
3333338.6175037,
-3031090.32649173
],
[
3500005.36187875,
-3031090.32649173
],
[
3583338.73406628,
-3175427.96108657
],
[
3500005.36187875,
-3319765.59568142
],
[
3333338.6175037,
-3319765.59568142
],
[
3250005.24531617,
-3175427.96108657
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443014"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3250005.24531617,
-2886752.69189688
],
[
3333338.6175037,
-2742415.05730204
],
[
3500005.36187875,
-2742415.05730204
],
[
3583338.73406628,
-2886752.69189688
],
[
3500005.36187875,
-3031090.32649173
],
[
3333338.6175037,
-3031090.32649173
],
[
3250005.24531617,
-2886752.69189688
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443069"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3500005.36187875,
-3031090.32649173
],
[
3583338.73406628,
-2886752.69189688
],
[
3750005.47844133,
-2886752.69189688
],
[
3833338.85062886,
-3031090.32649173
],
[
3750005.47844133,
-3175427.96108657
],
[
3583338.73406628,
-3175427.96108657
],
[
3500005.36187875,
-3031090.32649173
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443071"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3500005.36187875,
-2453739.78811235
],
[
3583338.73406628,
-2309402.15351751
],
[
3750005.47844133,
-2309402.15351751
],
[
3833338.85062886,
-2453739.78811235
],
[
3750005.47844133,
-2598077.4227072
],
[
3583338.73406628,
-2598077.4227072
],
[
3500005.36187875,
-2453739.78811235
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443129"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
3750005.47844133,
-1443376.34594844
],
[
3833338.85062886,
-1299038.7113536
],
[
4000005.59500391,
-1299038.7113536
],
[
4083338.96719144,
-1443376.34594844
],
[
4000005.59500391,
-1587713.98054329
],
[
3833338.85062886,
-1587713.98054329
],
[
3750005.47844133,
-1443376.34594844
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443184"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
4000005.59500391,
-1587713.98054329
],
[
4083338.96719144,
-1443376.34594844
],
[
4250005.7115665,
-1443376.34594844
],
[
4333339.08375402,
-1587713.98054329
],
[
4250005.7115665,
-1732051.61513813
],
[
4083338.96719144,
-1732051.61513813
],
[
4000005.59500391,
-1587713.98054329
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443294"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
4500005.82812908,
-1587713.98054329
],
[
4583339.2003166,
-1443376.34594844
],
[
4750005.94469166,
-1443376.34594844
],
[
4833339.31687919,
-1587713.98054329
],
[
4750005.94469166,
-1732051.61513813
],
[
4583339.2003166,
-1732051.61513813
],
[
4500005.82812908,
-1587713.98054329
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443350"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
4750005.94469166,
-1154701.07675875
],
[
4833339.31687919,
-1010363.44216391
],
[
5000006.06125424,
-1010363.44216391
],
[
5083339.43344177,
-1154701.07675875
],
[
5000006.06125424,
-1299038.7113536
],
[
4833339.31687919,
-1299038.7113536
],
[
4750005.94469166,
-1154701.07675875
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443406"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
5000006.06125424,
-1010363.44216391
],
[
5083339.43344177,
-866025.807569065
],
[
5250006.17781682,
-866025.807569065
],
[
5333339.55000435,
-1010363.44216391
],
[
5250006.17781682,
-1154701.07675875
],
[
5083339.43344177,
-1154701.07675875
],
[
5000006.06125424,
-1010363.44216391
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443409"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
5000006.06125424,
-144337.634594844
],
[
5083339.43344177,
0.0
],
[
5250006.17781682,
0.0
],
[
5333339.55000435,
-144337.634594844
],
[
5250006.17781682,
-288675.269189688
],
[
5083339.43344177,
-288675.269189688
],
[
5000006.06125424,
-144337.634594844
]
]
]
],
"type": "MultiPolygon"
}
}
],
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"type": "FeatureCollection"
}