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

{
    "features": [
        {
            "properties": {
                "pk": "441160"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                -5249998.7178116,
                                1732051.61513813
                            ],
                            [
                                -5166665.34562408,
                                1876389.24973297
                            ],
                            [
                                -4999998.60124902,
                                1876389.24973297
                            ],
                            [
                                -4916665.22906149,
                                1732051.61513813
                            ],
                            [
                                -4999998.60124902,
                                1587713.98054329
                            ],
                            [
                                -5166665.34562408,
                                1587713.98054329
                            ],
                            [
                                -5249998.7178116,
                                1732051.61513813
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        },
        {
            "properties": {
                "pk": "441434"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                -3999998.13499869,
                                1299038.7113536
                            ],
                            [
                                -3916664.76281117,
                                1443376.34594844
                            ],
                            [
                                -3749998.01843611,
                                1443376.34594844
                            ],
                            [
                                -3666664.64624859,
                                1299038.7113536
                            ],
                            [
                                -3749998.01843611,
                                1154701.07675875
                            ],
                            [
                                -3916664.76281117,
                                1154701.07675875
                            ],
                            [
                                -3999998.13499869,
                                1299038.7113536
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        }
    ],
    "crs": {
        "type": "name",
        "properties": {
            "name": "EPSG:3031"
        }
    },
    "type": "FeatureCollection"
}