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

{
    "features": [
        {
            "properties": {
                "pk": "441693"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                -2749997.55218579,
                                -3175427.96108657
                            ],
                            [
                                -2666664.17999826,
                                -3031090.32649173
                            ],
                            [
                                -2499997.43562321,
                                -3031090.32649173
                            ],
                            [
                                -2416664.06343568,
                                -3175427.96108657
                            ],
                            [
                                -2499997.43562321,
                                -3319765.59568142
                            ],
                            [
                                -2666664.17999826,
                                -3319765.59568142
                            ],
                            [
                                -2749997.55218579,
                                -3175427.96108657
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        },
        {
            "properties": {
                "pk": "441771"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                -2499997.43562321,
                                3319765.59568142
                            ],
                            [
                                -2416664.06343568,
                                3464103.23027626
                            ],
                            [
                                -2249997.31906062,
                                3464103.23027626
                            ],
                            [
                                -2166663.9468731,
                                3319765.59568142
                            ],
                            [
                                -2249997.31906062,
                                3175427.96108657
                            ],
                            [
                                -2416664.06343568,
                                3175427.96108657
                            ],
                            [
                                -2499997.43562321,
                                3319765.59568142
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        },
        {
            "properties": {
                "pk": "442245"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                -249996.386559972,
                                -2598077.4227072
                            ],
                            [
                                -166663.014372444,
                                -2453739.78811235
                            ],
                            [
                                3.73000261001289,
                                -2453739.78811235
                            ],
                            [
                                83337.1021901372,
                                -2598077.4227072
                            ],
                            [
                                3.73000261001289,
                                -2742415.05730204
                            ],
                            [
                                -166663.014372444,
                                -2742415.05730204
                            ],
                            [
                                -249996.386559972,
                                -2598077.4227072
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        },
        {
            "properties": {
                "pk": "442403"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                500003.963127773,
                                -4763141.94162986
                            ],
                            [
                                583337.3353153,
                                -4618804.30703502
                            ],
                            [
                                750004.079690354,
                                -4618804.30703502
                            ],
                            [
                                833337.451877881,
                                -4763141.94162986
                            ],
                            [
                                750004.079690354,
                                -4907479.5762247
                            ],
                            [
                                583337.3353153,
                                -4907479.5762247
                            ],
                            [
                                500003.963127773,
                                -4763141.94162986
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        },
        {
            "properties": {
                "pk": "442569"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                1250004.31281552,
                                -4330129.03784533
                            ],
                            [
                                1333337.68500304,
                                -4185791.40325048
                            ],
                            [
                                1500004.4293781,
                                -4185791.40325048
                            ],
                            [
                                1583337.80156563,
                                -4330129.03784533
                            ],
                            [
                                1500004.4293781,
                                -4474466.67244017
                            ],
                            [
                                1333337.68500304,
                                -4474466.67244017
                            ],
                            [
                                1250004.31281552,
                                -4330129.03784533
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        }
    ],
    "crs": {
        "type": "name",
        "properties": {
            "name": "EPSG:3031"
        }
    },
    "type": "FeatureCollection"
}