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

{
    "features": [
        {
            "properties": {
                "pk": "442649"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                1500004.4293781,
                                2742415.05730204
                            ],
                            [
                                1583337.80156563,
                                2886752.69189689
                            ],
                            [
                                1750004.54594068,
                                2886752.69189689
                            ],
                            [
                                1833337.91812821,
                                2742415.05730204
                            ],
                            [
                                1750004.54594068,
                                2598077.4227072
                            ],
                            [
                                1583337.80156563,
                                2598077.4227072
                            ],
                            [
                                1500004.4293781,
                                2742415.05730204
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        }
    ],
    "crs": {
        "type": "name",
        "properties": {
            "name": "EPSG:3031"
        }
    },
    "type": "FeatureCollection"
}