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

{
    "features": [
        {
            "properties": {
                "pk": "441431"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                -3999998.13499869,
                                433012.903784533
                            ],
                            [
                                -3916664.76281117,
                                577350.538379378
                            ],
                            [
                                -3749998.01843611,
                                577350.538379378
                            ],
                            [
                                -3666664.64624859,
                                433012.903784533
                            ],
                            [
                                -3749998.01843611,
                                288675.269189689
                            ],
                            [
                                -3916664.76281117,
                                288675.269189689
                            ],
                            [
                                -3999998.13499869,
                                433012.903784533
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        },
        {
            "properties": {
                "pk": "442855"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                2500004.89562843,
                                -1299038.7113536
                            ],
                            [
                                2583338.26781595,
                                -1154701.07675875
                            ],
                            [
                                2750005.01219101,
                                -1154701.07675875
                            ],
                            [
                                2833338.38437853,
                                -1299038.7113536
                            ],
                            [
                                2750005.01219101,
                                -1443376.34594844
                            ],
                            [
                                2583338.26781595,
                                -1443376.34594844
                            ],
                            [
                                2500004.89562843,
                                -1299038.7113536
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        }
    ],
    "crs": {
        "type": "name",
        "properties": {
            "name": "EPSG:3031"
        }
    },
    "type": "FeatureCollection"
}