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

{
    "features": [
        {
            "properties": {
                "pk": "442451"
            },
            "type": "Feature",
            "geometry": {
                "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": "MultiPolygon"
            }
        }
    ],
    "crs": {
        "type": "name",
        "properties": {
            "name": "EPSG:3031"
        }
    },
    "type": "FeatureCollection"
}