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=5220027
{
"features": [
{
"properties": {
"pk": "440911"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-6249999.18406193,
-6639531.19136284
],
[
-6166665.8118744,
-6495193.55676799
],
[
-5999999.06749935,
-6495193.55676799
],
[
-5916665.69531182,
-6639531.19136284
],
[
-5999999.06749935,
-6783868.82595768
],
[
-6166665.8118744,
-6783868.82595768
],
[
-6249999.18406193,
-6639531.19136284
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "440913"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-6249999.18406193,
-6062180.65298346
],
[
-6166665.8118744,
-5917843.01838861
],
[
-5999999.06749935,
-5917843.01838861
],
[
-5916665.69531182,
-6062180.65298346
],
[
-5999999.06749935,
-6206518.2875783
],
[
-6166665.8118744,
-6206518.2875783
],
[
-6249999.18406193,
-6062180.65298346
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "440965"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-5999999.06749935,
-7072544.09514737
],
[
-5916665.69531182,
-6928206.46055252
],
[
-5749998.95093677,
-6928206.46055252
],
[
-5666665.57874924,
-7072544.09514737
],
[
-5749998.95093677,
-7216881.72974221
],
[
-5916665.69531182,
-7216881.72974221
],
[
-5999999.06749935,
-7072544.09514737
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "440970"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-5999999.06749935,
-5629167.74919892
],
[
-5916665.69531182,
-5484830.11460408
],
[
-5749998.95093677,
-5484830.11460408
],
[
-5666665.57874924,
-5629167.74919892
],
[
-5749998.95093677,
-5773505.38379377
],
[
-5916665.69531182,
-5773505.38379377
],
[
-5999999.06749935,
-5629167.74919892
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441019"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-5749998.95093677,
-7216881.72974221
],
[
-5666665.57874924,
-7072544.09514737
],
[
-5499998.83437418,
-7072544.09514737
],
[
-5416665.46218666,
-7216881.72974221
],
[
-5499998.83437418,
-7361219.36433706
],
[
-5666665.57874924,
-7361219.36433706
],
[
-5749998.95093677,
-7216881.72974221
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441074"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-5499998.83437418,
-7361219.36433706
],
[
-5416665.46218666,
-7216881.72974221
],
[
-5249998.7178116,
-7216881.72974221
],
[
-5166665.34562408,
-7361219.36433706
],
[
-5249998.7178116,
-7505556.9989319
],
[
-5416665.46218666,
-7505556.9989319
],
[
-5499998.83437418,
-7361219.36433706
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441077"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-5499998.83437418,
-6495193.55676799
],
[
-5416665.46218666,
-6350855.92217315
],
[
-5249998.7178116,
-6350855.92217315
],
[
-5166665.34562408,
-6495193.55676799
],
[
-5249998.7178116,
-6639531.19136284
],
[
-5416665.46218666,
-6639531.19136284
],
[
-5499998.83437418,
-6495193.55676799
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441128"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-5249998.7178116,
-7505556.9989319
],
[
-5166665.34562408,
-7361219.36433706
],
[
-4999998.60124902,
-7361219.36433706
],
[
-4916665.22906149,
-7505556.9989319
],
[
-4999998.60124902,
-7649894.63352674
],
[
-5166665.34562408,
-7649894.63352674
],
[
-5249998.7178116,
-7505556.9989319
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441217"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-4999998.60124902,
2165064.51892266
],
[
-4916665.22906149,
2309402.15351751
],
[
-4749998.48468644,
2309402.15351751
],
[
-4666665.11249891,
2165064.51892266
],
[
-4749998.48468644,
2020726.88432782
],
[
-4916665.22906149,
2020726.88432782
],
[
-4999998.60124902,
2165064.51892266
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441271"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-4749998.48468644,
2020726.88432782
],
[
-4666665.11249891,
2165064.51892266
],
[
-4499998.36812386,
2165064.51892266
],
[
-4416664.99593633,
2020726.88432782
],
[
-4499998.36812386,
1876389.24973297
],
[
-4666665.11249891,
1876389.24973297
],
[
-4749998.48468644,
2020726.88432782
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441379"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-4249998.25156128,
1443376.34594844
],
[
-4166664.87937375,
1587713.98054329
],
[
-3999998.13499869,
1587713.98054329
],
[
-3916664.76281117,
1443376.34594844
],
[
-3999998.13499869,
1299038.7113536
],
[
-4166664.87937375,
1299038.7113536
],
[
-4249998.25156128,
1443376.34594844
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441435"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-3999998.13499869,
1587713.98054329
],
[
-3916664.76281117,
1732051.61513813
],
[
-3749998.01843611,
1732051.61513813
],
[
-3666664.64624859,
1587713.98054329
],
[
-3749998.01843611,
1443376.34594844
],
[
-3916664.76281117,
1443376.34594844
],
[
-3999998.13499869,
1587713.98054329
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442613"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
1500004.4293781,
-7649894.63352674
],
[
1583337.80156563,
-7505556.9989319
],
[
1750004.54594068,
-7505556.9989319
],
[
1833337.91812821,
-7649894.63352674
],
[
1750004.54594068,
-7794232.26812159
],
[
1583337.80156563,
-7794232.26812159
],
[
1500004.4293781,
-7649894.63352674
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "442738"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
2000004.66250326,
-3319765.59568142
],
[
2083338.03469079,
-3175427.96108657
],
[
2250004.77906584,
-3175427.96108657
],
[
2333338.15125337,
-3319765.59568142
],
[
2250004.77906584,
-3464103.23027626
],
[
2083338.03469079,
-3464103.23027626
],
[
2000004.66250326,
-3319765.59568142
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443485"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
5250006.17781682,
6062180.65298346
],
[
5333339.55000435,
6206518.2875783
],
[
5500006.2943794,
6206518.2875783
],
[
5583339.66656693,
6062180.65298346
],
[
5500006.2943794,
5917843.01838861
],
[
5333339.55000435,
5917843.01838861
],
[
5250006.17781682,
6062180.65298346
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443486"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
5250006.17781682,
6350855.92217315
],
[
5333339.55000435,
6495193.55676799
],
[
5500006.2943794,
6495193.55676799
],
[
5583339.66656693,
6350855.92217315
],
[
5500006.2943794,
6206518.2875783
],
[
5333339.55000435,
6206518.2875783
],
[
5250006.17781682,
6350855.92217315
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443542"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
5500006.2943794,
6495193.55676799
],
[
5583339.66656693,
6639531.19136284
],
[
5750006.41094199,
6639531.19136284
],
[
5833339.78312951,
6495193.55676799
],
[
5750006.41094199,
6350855.92217315
],
[
5583339.66656693,
6350855.92217315
],
[
5500006.2943794,
6495193.55676799
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443597"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
5750006.41094199,
6639531.19136284
],
[
5833339.78312951,
6783868.82595768
],
[
6000006.52750457,
6783868.82595768
],
[
6083339.89969209,
6639531.19136284
],
[
6000006.52750457,
6495193.55676799
],
[
5833339.78312951,
6495193.55676799
],
[
5750006.41094199,
6639531.19136284
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443598"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
5750006.41094199,
6928206.46055252
],
[
5833339.78312951,
7072544.09514737
],
[
6000006.52750457,
7072544.09514737
],
[
6083339.89969209,
6928206.46055252
],
[
6000006.52750457,
6783868.82595768
],
[
5833339.78312951,
6783868.82595768
],
[
5750006.41094199,
6928206.46055252
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443652"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
6000006.52750457,
6495193.55676799
],
[
6083339.89969209,
6639531.19136284
],
[
6250006.64406715,
6639531.19136284
],
[
6333340.01625468,
6495193.55676799
],
[
6250006.64406715,
6350855.92217315
],
[
6083339.89969209,
6350855.92217315
],
[
6000006.52750457,
6495193.55676799
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443653"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
6000006.52750457,
6783868.82595768
],
[
6083339.89969209,
6928206.46055252
],
[
6250006.64406715,
6928206.46055252
],
[
6333340.01625468,
6783868.82595768
],
[
6250006.64406715,
6639531.19136284
],
[
6083339.89969209,
6639531.19136284
],
[
6000006.52750457,
6783868.82595768
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443654"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
6000006.52750457,
7072544.09514737
],
[
6083339.89969209,
7216881.72974221
],
[
6250006.64406715,
7216881.72974221
],
[
6333340.01625468,
7072544.09514737
],
[
6250006.64406715,
6928206.46055252
],
[
6083339.89969209,
6928206.46055252
],
[
6000006.52750457,
7072544.09514737
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443818"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
6750006.87719231,
6928206.46055252
],
[
6833340.24937984,
7072544.09514737
],
[
7000006.99375489,
7072544.09514737
],
[
7083340.36594242,
6928206.46055252
],
[
7000006.99375489,
6783868.82595768
],
[
6833340.24937984,
6783868.82595768
],
[
6750006.87719231,
6928206.46055252
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443866"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
7000006.99375489,
4763141.94162986
],
[
7083340.36594242,
4907479.57622471
],
[
7250007.11031748,
4907479.57622471
],
[
7333340.482505,
4763141.94162986
],
[
7250007.11031748,
4618804.30703502
],
[
7083340.36594242,
4618804.30703502
],
[
7000006.99375489,
4763141.94162986
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "443874"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
7000006.99375489,
7072544.09514737
],
[
7083340.36594242,
7216881.72974221
],
[
7250007.11031748,
7216881.72974221
],
[
7333340.482505,
7072544.09514737
],
[
7250007.11031748,
6928206.46055252
],
[
7083340.36594242,
6928206.46055252
],
[
7000006.99375489,
7072544.09514737
]
]
]
],
"type": "MultiPolygon"
}
}
],
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"type": "FeatureCollection"
}