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&dataset=730
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": "441710"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                -2749997.55218579,
                                1732051.61513813
                            ],
                            [
                                -2666664.17999826,
                                1876389.24973297
                            ],
                            [
                                -2499997.43562321,
                                1876389.24973297
                            ],
                            [
                                -2416664.06343568,
                                1732051.61513813
                            ],
                            [
                                -2499997.43562321,
                                1587713.98054329
                            ],
                            [
                                -2666664.17999826,
                                1587713.98054329
                            ],
                            [
                                -2749997.55218579,
                                1732051.61513813
                            ]
                        ]
                    ]
                ]
            }
        }
    ]
}