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&dataset=682
{
"features": [
{
"properties": {
"pk": "440668"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-7499999.76687484,
2453739.78811235
],
[
-7416666.39468731,
2598077.4227072
],
[
-7249999.65031226,
2598077.4227072
],
[
-7166666.27812473,
2453739.78811235
],
[
-7249999.65031226,
2309402.15351751
],
[
-7416666.39468731,
2309402.15351751
],
[
-7499999.76687484,
2453739.78811235
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "440705"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-7249999.65031226,
-2598077.4227072
],
[
-7166666.27812473,
-2453739.78811235
],
[
-6999999.53374967,
-2453739.78811235
],
[
-6916666.16156215,
-2598077.4227072
],
[
-6999999.53374967,
-2742415.05730204
],
[
-7166666.27812473,
-2742415.05730204
],
[
-7249999.65031226,
-2598077.4227072
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "440828"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-6749999.41718709,
1154701.07675875
],
[
-6666666.04499956,
1299038.7113536
],
[
-6499999.30062451,
1299038.7113536
],
[
-6416665.92843698,
1154701.07675875
],
[
-6499999.30062451,
1010363.44216391
],
[
-6666666.04499956,
1010363.44216391
],
[
-6749999.41718709,
1154701.07675875
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "440961"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-6249999.18406193,
7794232.26812159
],
[
-6166665.8118744,
7938569.90271643
],
[
-5999999.06749935,
7938569.90271643
],
[
-5916665.69531182,
7794232.26812159
],
[
-5999999.06749935,
7649894.63352675
],
[
-6166665.8118744,
7649894.63352675
],
[
-6249999.18406193,
7794232.26812159
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "440962"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-6249999.18406193,
8082907.53731128
],
[
-6166665.8118744,
8227245.17190612
],
[
-5999999.06749935,
8227245.17190612
],
[
-5916665.69531182,
8082907.53731128
],
[
-5999999.06749935,
7938569.90271643
],
[
-6166665.8118744,
7938569.90271643
],
[
-6249999.18406193,
8082907.53731128
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441007"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-5999999.06749935,
5051817.21081955
],
[
-5916665.69531182,
5196154.84541439
],
[
-5749998.95093677,
5196154.84541439
],
[
-5666665.57874924,
5051817.21081955
],
[
-5749998.95093677,
4907479.57622471
],
[
-5916665.69531182,
4907479.57622471
],
[
-5999999.06749935,
5051817.21081955
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441009"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-5999999.06749935,
5629167.74919893
],
[
-5916665.69531182,
5773505.38379377
],
[
-5749998.95093677,
5773505.38379377
],
[
-5666665.57874924,
5629167.74919893
],
[
-5749998.95093677,
5484830.11460408
],
[
-5916665.69531182,
5484830.11460408
],
[
-5999999.06749935,
5629167.74919893
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441050"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-5749998.95093677,
1732051.61513813
],
[
-5666665.57874924,
1876389.24973297
],
[
-5499998.83437418,
1876389.24973297
],
[
-5416665.46218666,
1732051.61513813
],
[
-5499998.83437418,
1587713.98054329
],
[
-5666665.57874924,
1587713.98054329
],
[
-5749998.95093677,
1732051.61513813
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441056"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-5749998.95093677,
3464103.23027626
],
[
-5666665.57874924,
3608440.86487111
],
[
-5499998.83437418,
3608440.86487111
],
[
-5416665.46218666,
3464103.23027626
],
[
-5499998.83437418,
3319765.59568142
],
[
-5666665.57874924,
3319765.59568142
],
[
-5749998.95093677,
3464103.23027626
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441060"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-5749998.95093677,
4618804.30703502
],
[
-5666665.57874924,
4763141.94162986
],
[
-5499998.83437418,
4763141.94162986
],
[
-5416665.46218666,
4618804.30703502
],
[
-5499998.83437418,
4474466.67244017
],
[
-5666665.57874924,
4474466.67244017
],
[
-5749998.95093677,
4618804.30703502
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441064"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-5749998.95093677,
5773505.38379377
],
[
-5666665.57874924,
5917843.01838861
],
[
-5499998.83437418,
5917843.01838861
],
[
-5416665.46218666,
5773505.38379377
],
[
-5499998.83437418,
5629167.74919893
],
[
-5666665.57874924,
5629167.74919893
],
[
-5749998.95093677,
5773505.38379377
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441065"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-5749998.95093677,
6062180.65298346
],
[
-5666665.57874924,
6206518.2875783
],
[
-5499998.83437418,
6206518.2875783
],
[
-5416665.46218666,
6062180.65298346
],
[
-5499998.83437418,
5917843.01838861
],
[
-5666665.57874924,
5917843.01838861
],
[
-5749998.95093677,
6062180.65298346
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441112"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-5499998.83437418,
3608440.86487111
],
[
-5416665.46218666,
3752778.49946595
],
[
-5249998.7178116,
3752778.49946595
],
[
-5166665.34562408,
3608440.86487111
],
[
-5249998.7178116,
3464103.23027626
],
[
-5416665.46218666,
3464103.23027626
],
[
-5499998.83437418,
3608440.86487111
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441113"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-5499998.83437418,
3897116.13406079
],
[
-5416665.46218666,
4041453.76865564
],
[
-5249998.7178116,
4041453.76865564
],
[
-5166665.34562408,
3897116.13406079
],
[
-5249998.7178116,
3752778.49946595
],
[
-5416665.46218666,
3752778.49946595
],
[
-5499998.83437418,
3897116.13406079
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441114"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-5499998.83437418,
4185791.40325048
],
[
-5416665.46218666,
4330129.03784533
],
[
-5249998.7178116,
4330129.03784533
],
[
-5166665.34562408,
4185791.40325048
],
[
-5249998.7178116,
4041453.76865564
],
[
-5416665.46218666,
4041453.76865564
],
[
-5499998.83437418,
4185791.40325048
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441162"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-5249998.7178116,
2309402.15351751
],
[
-5166665.34562408,
2453739.78811235
],
[
-4999998.60124902,
2453739.78811235
],
[
-4916665.22906149,
2309402.15351751
],
[
-4999998.60124902,
2165064.51892266
],
[
-5166665.34562408,
2165064.51892266
],
[
-5249998.7178116,
2309402.15351751
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441163"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-5249998.7178116,
2598077.4227072
],
[
-5166665.34562408,
2742415.05730204
],
[
-4999998.60124902,
2742415.05730204
],
[
-4916665.22906149,
2598077.4227072
],
[
-4999998.60124902,
2453739.78811235
],
[
-5166665.34562408,
2453739.78811235
],
[
-5249998.7178116,
2598077.4227072
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441165"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-5249998.7178116,
3175427.96108657
],
[
-5166665.34562408,
3319765.59568142
],
[
-4999998.60124902,
3319765.59568142
],
[
-4916665.22906149,
3175427.96108657
],
[
-4999998.60124902,
3031090.32649173
],
[
-5166665.34562408,
3031090.32649173
],
[
-5249998.7178116,
3175427.96108657
]
]
]
],
"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": "441218"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-4999998.60124902,
2453739.78811235
],
[
-4916665.22906149,
2598077.4227072
],
[
-4749998.48468644,
2598077.4227072
],
[
-4666665.11249891,
2453739.78811235
],
[
-4749998.48468644,
2309402.15351751
],
[
-4916665.22906149,
2309402.15351751
],
[
-4999998.60124902,
2453739.78811235
]
]
]
],
"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": "441323"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-4499998.36812386,
1010363.44216391
],
[
-4416664.99593633,
1154701.07675875
],
[
-4249998.25156128,
1154701.07675875
],
[
-4166664.87937375,
1010363.44216391
],
[
-4249998.25156128,
866025.807569066
],
[
-4416664.99593633,
866025.807569066
],
[
-4499998.36812386,
1010363.44216391
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441378"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-4249998.25156128,
1154701.07675875
],
[
-4166664.87937375,
1299038.7113536
],
[
-3999998.13499869,
1299038.7113536
],
[
-3916664.76281117,
1154701.07675875
],
[
-3999998.13499869,
1010363.44216391
],
[
-4166664.87937375,
1010363.44216391
],
[
-4249998.25156128,
1154701.07675875
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441380"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-4249998.25156128,
1732051.61513813
],
[
-4166664.87937375,
1876389.24973297
],
[
-3999998.13499869,
1876389.24973297
],
[
-3916664.76281117,
1732051.61513813
],
[
-3999998.13499869,
1587713.98054329
],
[
-4166664.87937375,
1587713.98054329
],
[
-4249998.25156128,
1732051.61513813
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441395"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-4249998.25156128,
6062180.65298346
],
[
-4166664.87937375,
6206518.2875783
],
[
-3999998.13499869,
6206518.2875783
],
[
-3916664.76281117,
6062180.65298346
],
[
-3999998.13499869,
5917843.01838861
],
[
-4166664.87937375,
5917843.01838861
],
[
-4249998.25156128,
6062180.65298346
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441434"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-3999998.13499869,
1299038.7113536
],
[
-3916664.76281117,
1443376.34594844
],
[
-3749998.01843611,
1443376.34594844
],
[
-3666664.64624859,
1299038.7113536
],
[
-3749998.01843611,
1154701.07675875
],
[
-3916664.76281117,
1154701.07675875
],
[
-3999998.13499869,
1299038.7113536
]
]
]
],
"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": "441437"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-3999998.13499869,
2165064.51892266
],
[
-3916664.76281117,
2309402.15351751
],
[
-3749998.01843611,
2309402.15351751
],
[
-3666664.64624859,
2165064.51892266
],
[
-3749998.01843611,
2020726.88432782
],
[
-3916664.76281117,
2020726.88432782
],
[
-3999998.13499869,
2165064.51892266
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441489"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-3749998.01843611,
1443376.34594844
],
[
-3666664.64624859,
1587713.98054329
],
[
-3499997.90187353,
1587713.98054329
],
[
-3416664.529686,
1443376.34594844
],
[
-3499997.90187353,
1299038.7113536
],
[
-3666664.64624859,
1299038.7113536
],
[
-3749998.01843611,
1443376.34594844
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441490"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-3749998.01843611,
1732051.61513813
],
[
-3666664.64624859,
1876389.24973297
],
[
-3499997.90187353,
1876389.24973297
],
[
-3416664.529686,
1732051.61513813
],
[
-3499997.90187353,
1587713.98054329
],
[
-3666664.64624859,
1587713.98054329
],
[
-3749998.01843611,
1732051.61513813
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441491"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-3749998.01843611,
2020726.88432782
],
[
-3666664.64624859,
2165064.51892266
],
[
-3499997.90187353,
2165064.51892266
],
[
-3416664.529686,
2020726.88432782
],
[
-3499997.90187353,
1876389.24973297
],
[
-3666664.64624859,
1876389.24973297
],
[
-3749998.01843611,
2020726.88432782
]
]
]
],
"type": "MultiPolygon"
}
},
{
"properties": {
"pk": "441492"
},
"type": "Feature",
"geometry": {
"coordinates": [
[
[
[
-3749998.01843611,
2309402.15351751
],
[
-3666664.64624859,
2453739.78811235
],
[
-3499997.90187353,
2453739.78811235
],
[
-3416664.529686,
2309402.15351751
],
[
-3499997.90187353,
2165064.51892266
],
[
-3666664.64624859,
2165064.51892266
],
[
-3749998.01843611,
2309402.15351751
]
]
]
],
"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"
}
}
],
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3031"
}
},
"type": "FeatureCollection"
}