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=2114673
HTTP 200 OK
Allow: GET, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "type": "FeatureCollection",
    "crs": {
        "type": "name",
        "properties": {
            "name": "EPSG:3031"
        }
    },
    "features": [
        {
            "type": "Feature",
            "properties": {
                "pk": "441049"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                -5749998.95093677,
                                1443376.34594844
                            ],
                            [
                                -5666665.57874924,
                                1587713.98054329
                            ],
                            [
                                -5499998.83437418,
                                1587713.98054329
                            ],
                            [
                                -5416665.46218666,
                                1443376.34594844
                            ],
                            [
                                -5499998.83437418,
                                1299038.7113536
                            ],
                            [
                                -5666665.57874924,
                                1299038.7113536
                            ],
                            [
                                -5749998.95093677,
                                1443376.34594844
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "pk": "441158"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                -5249998.7178116,
                                1154701.07675875
                            ],
                            [
                                -5166665.34562408,
                                1299038.7113536
                            ],
                            [
                                -4999998.60124902,
                                1299038.7113536
                            ],
                            [
                                -4916665.22906149,
                                1154701.07675875
                            ],
                            [
                                -4999998.60124902,
                                1010363.44216391
                            ],
                            [
                                -5166665.34562408,
                                1010363.44216391
                            ],
                            [
                                -5249998.7178116,
                                1154701.07675875
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "pk": "441268"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                -4749998.48468644,
                                1154701.07675875
                            ],
                            [
                                -4666665.11249891,
                                1299038.7113536
                            ],
                            [
                                -4499998.36812386,
                                1299038.7113536
                            ],
                            [
                                -4416664.99593633,
                                1154701.07675875
                            ],
                            [
                                -4499998.36812386,
                                1010363.44216391
                            ],
                            [
                                -4666665.11249891,
                                1010363.44216391
                            ],
                            [
                                -4749998.48468644,
                                1154701.07675875
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "pk": "441432"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                -3999998.13499869,
                                721688.172974221
                            ],
                            [
                                -3916664.76281117,
                                866025.807569066
                            ],
                            [
                                -3749998.01843611,
                                866025.807569066
                            ],
                            [
                                -3666664.64624859,
                                721688.172974221
                            ],
                            [
                                -3749998.01843611,
                                577350.538379378
                            ],
                            [
                                -3916664.76281117,
                                577350.538379378
                            ],
                            [
                                -3999998.13499869,
                                721688.172974221
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "pk": "441483"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                -3749998.01843611,
                                -288675.269189688
                            ],
                            [
                                -3666664.64624859,
                                -144337.634594844
                            ],
                            [
                                -3499997.90187353,
                                -144337.634594844
                            ],
                            [
                                -3416664.529686,
                                -288675.269189688
                            ],
                            [
                                -3499997.90187353,
                                -433012.903784532
                            ],
                            [
                                -3666664.64624859,
                                -433012.903784532
                            ],
                            [
                                -3749998.01843611,
                                -288675.269189688
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "pk": "441486"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                -3749998.01843611,
                                577350.538379378
                            ],
                            [
                                -3666664.64624859,
                                721688.172974221
                            ],
                            [
                                -3499997.90187353,
                                721688.172974221
                            ],
                            [
                                -3416664.529686,
                                577350.538379378
                            ],
                            [
                                -3499997.90187353,
                                433012.903784533
                            ],
                            [
                                -3666664.64624859,
                                433012.903784533
                            ],
                            [
                                -3749998.01843611,
                                577350.538379378
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "pk": "441487"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                -3749998.01843611,
                                866025.807569066
                            ],
                            [
                                -3666664.64624859,
                                1010363.44216391
                            ],
                            [
                                -3499997.90187353,
                                1010363.44216391
                            ],
                            [
                                -3416664.529686,
                                866025.807569066
                            ],
                            [
                                -3499997.90187353,
                                721688.172974221
                            ],
                            [
                                -3666664.64624859,
                                721688.172974221
                            ],
                            [
                                -3749998.01843611,
                                866025.807569066
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "pk": "441544"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                -3499997.90187353,
                                1299038.7113536
                            ],
                            [
                                -3416664.529686,
                                1443376.34594844
                            ],
                            [
                                -3249997.78531095,
                                1443376.34594844
                            ],
                            [
                                -3166664.41312342,
                                1299038.7113536
                            ],
                            [
                                -3249997.78531095,
                                1154701.07675875
                            ],
                            [
                                -3416664.529686,
                                1154701.07675875
                            ],
                            [
                                -3499997.90187353,
                                1299038.7113536
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "pk": "441545"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                -3499997.90187353,
                                1587713.98054329
                            ],
                            [
                                -3416664.529686,
                                1732051.61513813
                            ],
                            [
                                -3249997.78531095,
                                1732051.61513813
                            ],
                            [
                                -3166664.41312342,
                                1587713.98054329
                            ],
                            [
                                -3249997.78531095,
                                1443376.34594844
                            ],
                            [
                                -3416664.529686,
                                1443376.34594844
                            ],
                            [
                                -3499997.90187353,
                                1587713.98054329
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "pk": "441594"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                -3249997.78531095,
                                0.0
                            ],
                            [
                                -3166664.41312342,
                                144337.634594845
                            ],
                            [
                                -2999997.66874837,
                                144337.634594845
                            ],
                            [
                                -2916664.29656084,
                                0.0
                            ],
                            [
                                -2999997.66874837,
                                -144337.634594844
                            ],
                            [
                                -3166664.41312342,
                                -144337.634594844
                            ],
                            [
                                -3249997.78531095,
                                0.0
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "pk": "441596"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                -3249997.78531095,
                                577350.538379378
                            ],
                            [
                                -3166664.41312342,
                                721688.172974221
                            ],
                            [
                                -2999997.66874837,
                                721688.172974221
                            ],
                            [
                                -2916664.29656084,
                                577350.538379378
                            ],
                            [
                                -2999997.66874837,
                                433012.903784533
                            ],
                            [
                                -3166664.41312342,
                                433012.903784533
                            ],
                            [
                                -3249997.78531095,
                                577350.538379378
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "pk": "441598"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                -3249997.78531095,
                                1154701.07675875
                            ],
                            [
                                -3166664.41312342,
                                1299038.7113536
                            ],
                            [
                                -2999997.66874837,
                                1299038.7113536
                            ],
                            [
                                -2916664.29656084,
                                1154701.07675875
                            ],
                            [
                                -2999997.66874837,
                                1010363.44216391
                            ],
                            [
                                -3166664.41312342,
                                1010363.44216391
                            ],
                            [
                                -3249997.78531095,
                                1154701.07675875
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "pk": "441600"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                -3249997.78531095,
                                1732051.61513813
                            ],
                            [
                                -3166664.41312342,
                                1876389.24973297
                            ],
                            [
                                -2999997.66874837,
                                1876389.24973297
                            ],
                            [
                                -2916664.29656084,
                                1732051.61513813
                            ],
                            [
                                -2999997.66874837,
                                1587713.98054329
                            ],
                            [
                                -3166664.41312342,
                                1587713.98054329
                            ],
                            [
                                -3249997.78531095,
                                1732051.61513813
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "pk": "441601"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                -3249997.78531095,
                                2020726.88432782
                            ],
                            [
                                -3166664.41312342,
                                2165064.51892266
                            ],
                            [
                                -2999997.66874837,
                                2165064.51892266
                            ],
                            [
                                -2916664.29656084,
                                2020726.88432782
                            ],
                            [
                                -2999997.66874837,
                                1876389.24973297
                            ],
                            [
                                -3166664.41312342,
                                1876389.24973297
                            ],
                            [
                                -3249997.78531095,
                                2020726.88432782
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "pk": "441645"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                -2999997.66874837,
                                -1299038.7113536
                            ],
                            [
                                -2916664.29656084,
                                -1154701.07675875
                            ],
                            [
                                -2749997.55218579,
                                -1154701.07675875
                            ],
                            [
                                -2666664.17999826,
                                -1299038.7113536
                            ],
                            [
                                -2749997.55218579,
                                -1443376.34594844
                            ],
                            [
                                -2916664.29656084,
                                -1443376.34594844
                            ],
                            [
                                -2999997.66874837,
                                -1299038.7113536
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "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": "441704"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                -2749997.55218579,
                                0.0
                            ],
                            [
                                -2666664.17999826,
                                144337.634594845
                            ],
                            [
                                -2499997.43562321,
                                144337.634594845
                            ],
                            [
                                -2416664.06343568,
                                0.0
                            ],
                            [
                                -2499997.43562321,
                                -144337.634594844
                            ],
                            [
                                -2666664.17999826,
                                -144337.634594844
                            ],
                            [
                                -2749997.55218579,
                                0.0
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "pk": "441717"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                -2749997.55218579,
                                3752778.49946595
                            ],
                            [
                                -2666664.17999826,
                                3897116.13406079
                            ],
                            [
                                -2499997.43562321,
                                3897116.13406079
                            ],
                            [
                                -2416664.06343568,
                                3752778.49946595
                            ],
                            [
                                -2499997.43562321,
                                3608440.86487111
                            ],
                            [
                                -2666664.17999826,
                                3608440.86487111
                            ],
                            [
                                -2749997.55218579,
                                3752778.49946595
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "pk": "441759"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                -2499997.43562321,
                                -144337.634594844
                            ],
                            [
                                -2416664.06343568,
                                0.0
                            ],
                            [
                                -2249997.31906062,
                                0.0
                            ],
                            [
                                -2166663.9468731,
                                -144337.634594844
                            ],
                            [
                                -2249997.31906062,
                                -288675.269189688
                            ],
                            [
                                -2416664.06343568,
                                -288675.269189688
                            ],
                            [
                                -2499997.43562321,
                                -144337.634594844
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "pk": "441770"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                -2499997.43562321,
                                3031090.32649173
                            ],
                            [
                                -2416664.06343568,
                                3175427.96108657
                            ],
                            [
                                -2249997.31906062,
                                3175427.96108657
                            ],
                            [
                                -2166663.9468731,
                                3031090.32649173
                            ],
                            [
                                -2249997.31906062,
                                2886752.69189689
                            ],
                            [
                                -2416664.06343568,
                                2886752.69189689
                            ],
                            [
                                -2499997.43562321,
                                3031090.32649173
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "pk": "441966"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                -1499996.96937288,
                                -3897116.13406079
                            ],
                            [
                                -1416663.59718535,
                                -3752778.49946595
                            ],
                            [
                                -1249996.8528103,
                                -3752778.49946595
                            ],
                            [
                                -1166663.48062277,
                                -3897116.13406079
                            ],
                            [
                                -1249996.8528103,
                                -4041453.76865564
                            ],
                            [
                                -1416663.59718535,
                                -4041453.76865564
                            ],
                            [
                                -1499996.96937288,
                                -3897116.13406079
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "pk": "442137"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                -749996.619685135,
                                -2020726.88432782
                            ],
                            [
                                -666663.247497608,
                                -1876389.24973297
                            ],
                            [
                                -499996.503122553,
                                -1876389.24973297
                            ],
                            [
                                -416663.130935026,
                                -2020726.88432782
                            ],
                            [
                                -499996.503122553,
                                -2165064.51892266
                            ],
                            [
                                -666663.247497608,
                                -2165064.51892266
                            ],
                            [
                                -749996.619685135,
                                -2020726.88432782
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "pk": "442407"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                500003.963127773,
                                -3608440.86487111
                            ],
                            [
                                583337.3353153,
                                -3464103.23027626
                            ],
                            [
                                750004.079690354,
                                -3464103.23027626
                            ],
                            [
                                833337.451877881,
                                -3608440.86487111
                            ],
                            [
                                750004.079690354,
                                -3752778.49946595
                            ],
                            [
                                583337.3353153,
                                -3752778.49946595
                            ],
                            [
                                500003.963127773,
                                -3608440.86487111
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "pk": "442451"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                750004.079690354,
                                -6639531.19136284
                            ],
                            [
                                833337.451877881,
                                -6495193.55676799
                            ],
                            [
                                1000004.19625294,
                                -6495193.55676799
                            ],
                            [
                                1083337.56844046,
                                -6639531.19136284
                            ],
                            [
                                1000004.19625294,
                                -6783868.82595768
                            ],
                            [
                                833337.451877881,
                                -6783868.82595768
                            ],
                            [
                                750004.079690354,
                                -6639531.19136284
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "pk": "442452"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                750004.079690354,
                                -6350855.92217315
                            ],
                            [
                                833337.451877881,
                                -6206518.2875783
                            ],
                            [
                                1000004.19625294,
                                -6206518.2875783
                            ],
                            [
                                1083337.56844046,
                                -6350855.92217315
                            ],
                            [
                                1000004.19625294,
                                -6495193.55676799
                            ],
                            [
                                833337.451877881,
                                -6495193.55676799
                            ],
                            [
                                750004.079690354,
                                -6350855.92217315
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "pk": "442913"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                2750005.01219101,
                                -288675.269189688
                            ],
                            [
                                2833338.38437853,
                                -144337.634594844
                            ],
                            [
                                3000005.12875359,
                                -144337.634594844
                            ],
                            [
                                3083338.50094112,
                                -288675.269189688
                            ],
                            [
                                3000005.12875359,
                                -433012.903784532
                            ],
                            [
                                2833338.38437853,
                                -433012.903784532
                            ],
                            [
                                2750005.01219101,
                                -288675.269189688
                            ]
                        ]
                    ]
                ]
            }
        }
    ]
}