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=2228013
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": "443012"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                3250005.24531617,
                                -3464103.23027626
                            ],
                            [
                                3333338.6175037,
                                -3319765.59568142
                            ],
                            [
                                3500005.36187875,
                                -3319765.59568142
                            ],
                            [
                                3583338.73406628,
                                -3464103.23027626
                            ],
                            [
                                3500005.36187875,
                                -3608440.86487111
                            ],
                            [
                                3333338.6175037,
                                -3608440.86487111
                            ],
                            [
                                3250005.24531617,
                                -3464103.23027626
                            ]
                        ]
                    ]
                ]
            }
        }
    ]
}