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

{
    "features": [
        {
            "properties": {
                "pk": "442054"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                -1249996.8528103,
                                5773505.38379377
                            ],
                            [
                                -1166663.48062277,
                                5917843.01838861
                            ],
                            [
                                -999996.736247716,
                                5917843.01838861
                            ],
                            [
                                -916663.364060189,
                                5773505.38379377
                            ],
                            [
                                -999996.736247716,
                                5629167.74919893
                            ],
                            [
                                -1166663.48062277,
                                5629167.74919893
                            ],
                            [
                                -1249996.8528103,
                                5773505.38379377
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        },
        {
            "properties": {
                "pk": "442293"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                3.73000261001289,
                                -4763141.94162986
                            ],
                            [
                                83337.1021901372,
                                -4618804.30703502
                            ],
                            [
                                250003.846565192,
                                -4618804.30703502
                            ],
                            [
                                333337.218752719,
                                -4763141.94162986
                            ],
                            [
                                250003.846565192,
                                -4907479.5762247
                            ],
                            [
                                83337.1021901372,
                                -4907479.5762247
                            ],
                            [
                                3.73000261001289,
                                -4763141.94162986
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        }
    ],
    "crs": {
        "type": "name",
        "properties": {
            "name": "EPSG:3031"
        }
    },
    "type": "FeatureCollection"
}