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

{
    "features": [
        {
            "properties": {
                "pk": "442095"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                -999996.736247716,
                                1587713.98054329
                            ],
                            [
                                -916663.364060189,
                                1732051.61513813
                            ],
                            [
                                -749996.619685135,
                                1732051.61513813
                            ],
                            [
                                -666663.247497608,
                                1587713.98054329
                            ],
                            [
                                -749996.619685135,
                                1443376.34594844
                            ],
                            [
                                -916663.364060189,
                                1443376.34594844
                            ],
                            [
                                -999996.736247716,
                                1587713.98054329
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        },
        {
            "properties": {
                "pk": "442151"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                -749996.619685135,
                                2020726.88432782
                            ],
                            [
                                -666663.247497608,
                                2165064.51892266
                            ],
                            [
                                -499996.503122553,
                                2165064.51892266
                            ],
                            [
                                -416663.130935026,
                                2020726.88432782
                            ],
                            [
                                -499996.503122553,
                                1876389.24973297
                            ],
                            [
                                -666663.247497608,
                                1876389.24973297
                            ],
                            [
                                -749996.619685135,
                                2020726.88432782
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        }
    ],
    "crs": {
        "type": "name",
        "properties": {
            "name": "EPSG:3031"
        }
    },
    "type": "FeatureCollection"
}