Occurrence Grid
Process queries for HexGrid objects. Will be deprecated in future version :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=1084
{
"type": "FeatureCollection",
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"features": [
{
"type": "Feature",
"properties": {
"pk": "441654"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-2999997.66874837,
1299038.7113536
],
[
-2916664.29656084,
1443376.34594844
],
[
-2749997.55218579,
1443376.34594844
],
[
-2666664.17999826,
1299038.7113536
],
[
-2749997.55218579,
1154701.07675875
],
[
-2916664.29656084,
1154701.07675875
],
[
-2999997.66874837,
1299038.7113536
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "441769"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-2499997.43562321,
2742415.05730204
],
[
-2416664.06343568,
2886752.69189689
],
[
-2249997.31906062,
2886752.69189689
],
[
-2166663.9468731,
2742415.05730204
],
[
-2249997.31906062,
2598077.4227072
],
[
-2416664.06343568,
2598077.4227072
],
[
-2499997.43562321,
2742415.05730204
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "442575"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
1250004.31281552,
-2598077.4227072
],
[
1333337.68500304,
-2453739.78811235
],
[
1500004.4293781,
-2453739.78811235
],
[
1583337.80156563,
-2598077.4227072
],
[
1500004.4293781,
-2742415.05730204
],
[
1333337.68500304,
-2742415.05730204
],
[
1250004.31281552,
-2598077.4227072
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "442576"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
1250004.31281552,
-2309402.15351751
],
[
1333337.68500304,
-2165064.51892266
],
[
1500004.4293781,
-2165064.51892266
],
[
1583337.80156563,
-2309402.15351751
],
[
1500004.4293781,
-2453739.78811235
],
[
1333337.68500304,
-2453739.78811235
],
[
1250004.31281552,
-2309402.15351751
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "442846"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
2500004.89562843,
-3897116.13406079
],
[
2583338.26781595,
-3752778.49946595
],
[
2750005.01219101,
-3752778.49946595
],
[
2833338.38437853,
-3897116.13406079
],
[
2750005.01219101,
-4041453.76865564
],
[
2583338.26781595,
-4041453.76865564
],
[
2500004.89562843,
-3897116.13406079
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "442847"
},
"geometry": {
"type": "MultiPolygon",
"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": "Feature",
"properties": {
"pk": "442899"
},
"geometry": {
"type": "MultiPolygon",
"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": "Feature",
"properties": {
"pk": "442900"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
2750005.01219101,
-4041453.76865564
],
[
2833338.38437853,
-3897116.13406079
],
[
3000005.12875359,
-3897116.13406079
],
[
3083338.50094112,
-4041453.76865564
],
[
3000005.12875359,
-4185791.40325048
],
[
2833338.38437853,
-4185791.40325048
],
[
2750005.01219101,
-4041453.76865564
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"pk": "442916"
},
"geometry": {
"type": "MultiPolygon",
"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
]
]
]
]
}
}
]
}