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

{
    "features": [
        {
            "properties": {
                "pk": "441159"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                -5249998.7178116,
                                1443376.34594844
                            ],
                            [
                                -5166665.34562408,
                                1587713.98054329
                            ],
                            [
                                -4999998.60124902,
                                1587713.98054329
                            ],
                            [
                                -4916665.22906149,
                                1443376.34594844
                            ],
                            [
                                -4999998.60124902,
                                1299038.7113536
                            ],
                            [
                                -5166665.34562408,
                                1299038.7113536
                            ],
                            [
                                -5249998.7178116,
                                1443376.34594844
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        },
        {
            "properties": {
                "pk": "441269"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                -4749998.48468644,
                                1443376.34594844
                            ],
                            [
                                -4666665.11249891,
                                1587713.98054329
                            ],
                            [
                                -4499998.36812386,
                                1587713.98054329
                            ],
                            [
                                -4416664.99593633,
                                1443376.34594844
                            ],
                            [
                                -4499998.36812386,
                                1299038.7113536
                            ],
                            [
                                -4666665.11249891,
                                1299038.7113536
                            ],
                            [
                                -4749998.48468644,
                                1443376.34594844
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        },
        {
            "properties": {
                "pk": "441489"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                -3749998.01843611,
                                1443376.34594844
                            ],
                            [
                                -3666664.64624859,
                                1587713.98054329
                            ],
                            [
                                -3499997.90187353,
                                1587713.98054329
                            ],
                            [
                                -3416664.529686,
                                1443376.34594844
                            ],
                            [
                                -3499997.90187353,
                                1299038.7113536
                            ],
                            [
                                -3666664.64624859,
                                1299038.7113536
                            ],
                            [
                                -3749998.01843611,
                                1443376.34594844
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        },
        {
            "properties": {
                "pk": "442897"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                2750005.01219101,
                                -4907479.5762247
                            ],
                            [
                                2833338.38437853,
                                -4763141.94162986
                            ],
                            [
                                3000005.12875359,
                                -4763141.94162986
                            ],
                            [
                                3083338.50094112,
                                -4907479.5762247
                            ],
                            [
                                3000005.12875359,
                                -5051817.21081955
                            ],
                            [
                                2833338.38437853,
                                -5051817.21081955
                            ],
                            [
                                2750005.01219101,
                                -4907479.5762247
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        },
        {
            "properties": {
                "pk": "442898"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                2750005.01219101,
                                -4618804.30703502
                            ],
                            [
                                2833338.38437853,
                                -4474466.67244017
                            ],
                            [
                                3000005.12875359,
                                -4474466.67244017
                            ],
                            [
                                3083338.50094112,
                                -4618804.30703502
                            ],
                            [
                                3000005.12875359,
                                -4763141.94162986
                            ],
                            [
                                2833338.38437853,
                                -4763141.94162986
                            ],
                            [
                                2750005.01219101,
                                -4618804.30703502
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        },
        {
            "properties": {
                "pk": "443392"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                5000006.06125424,
                                -5051817.21081955
                            ],
                            [
                                5083339.43344177,
                                -4907479.5762247
                            ],
                            [
                                5250006.17781682,
                                -4907479.5762247
                            ],
                            [
                                5333339.55000435,
                                -5051817.21081955
                            ],
                            [
                                5250006.17781682,
                                -5196154.84541439
                            ],
                            [
                                5083339.43344177,
                                -5196154.84541439
                            ],
                            [
                                5000006.06125424,
                                -5051817.21081955
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        }
    ],
    "crs": {
        "type": "name",
        "properties": {
            "name": "EPSG:3031"
        }
    },
    "type": "FeatureCollection"
}