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

{
    "features": [
        {
            "properties": {
                "pk": "441919"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                -1749997.08593546,
                                -1443376.34594844
                            ],
                            [
                                -1666663.71374793,
                                -1299038.7113536
                            ],
                            [
                                -1499996.96937288,
                                -1299038.7113536
                            ],
                            [
                                -1416663.59718535,
                                -1443376.34594844
                            ],
                            [
                                -1499996.96937288,
                                -1587713.98054329
                            ],
                            [
                                -1666663.71374793,
                                -1587713.98054329
                            ],
                            [
                                -1749997.08593546,
                                -1443376.34594844
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        },
        {
            "properties": {
                "pk": "441975"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                -1499996.96937288,
                                -1299038.7113536
                            ],
                            [
                                -1416663.59718535,
                                -1154701.07675875
                            ],
                            [
                                -1249996.8528103,
                                -1154701.07675875
                            ],
                            [
                                -1166663.48062277,
                                -1299038.7113536
                            ],
                            [
                                -1249996.8528103,
                                -1443376.34594844
                            ],
                            [
                                -1416663.59718535,
                                -1443376.34594844
                            ],
                            [
                                -1499996.96937288,
                                -1299038.7113536
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        },
        {
            "properties": {
                "pk": "442135"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                -749996.619685135,
                                -2598077.4227072
                            ],
                            [
                                -666663.247497608,
                                -2453739.78811235
                            ],
                            [
                                -499996.503122553,
                                -2453739.78811235
                            ],
                            [
                                -416663.130935026,
                                -2598077.4227072
                            ],
                            [
                                -499996.503122553,
                                -2742415.05730204
                            ],
                            [
                                -666663.247497608,
                                -2742415.05730204
                            ],
                            [
                                -749996.619685135,
                                -2598077.4227072
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        },
        {
            "properties": {
                "pk": "442139"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                -749996.619685135,
                                -1443376.34594844
                            ],
                            [
                                -666663.247497608,
                                -1299038.7113536
                            ],
                            [
                                -499996.503122553,
                                -1299038.7113536
                            ],
                            [
                                -416663.130935026,
                                -1443376.34594844
                            ],
                            [
                                -499996.503122553,
                                -1587713.98054329
                            ],
                            [
                                -666663.247497608,
                                -1587713.98054329
                            ],
                            [
                                -749996.619685135,
                                -1443376.34594844
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        },
        {
            "properties": {
                "pk": "442194"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                -499996.503122553,
                                -1587713.98054329
                            ],
                            [
                                -416663.130935026,
                                -1443376.34594844
                            ],
                            [
                                -249996.386559972,
                                -1443376.34594844
                            ],
                            [
                                -166663.014372444,
                                -1587713.98054329
                            ],
                            [
                                -249996.386559972,
                                -1732051.61513813
                            ],
                            [
                                -416663.130935026,
                                -1732051.61513813
                            ],
                            [
                                -499996.503122553,
                                -1587713.98054329
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        },
        {
            "properties": {
                "pk": "442195"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                -499996.503122553,
                                -1299038.7113536
                            ],
                            [
                                -416663.130935026,
                                -1154701.07675875
                            ],
                            [
                                -249996.386559972,
                                -1154701.07675875
                            ],
                            [
                                -166663.014372444,
                                -1299038.7113536
                            ],
                            [
                                -249996.386559972,
                                -1443376.34594844
                            ],
                            [
                                -416663.130935026,
                                -1443376.34594844
                            ],
                            [
                                -499996.503122553,
                                -1299038.7113536
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        },
        {
            "properties": {
                "pk": "442846"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                2500004.89562843,
                                -3897116.13406079
                            ],
                            [
                                2583338.26781595,
                                -3752778.49946595
                            ],
                            [
                                2750005.01219101,
                                -3752778.49946595
                            ],
                            [
                                2833338.38437853,
                                -3897116.13406079
                            ],
                            [
                                2750005.01219101,
                                -4041453.76865564
                            ],
                            [
                                2583338.26781595,
                                -4041453.76865564
                            ],
                            [
                                2500004.89562843,
                                -3897116.13406079
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        }
    ],
    "crs": {
        "type": "name",
        "properties": {
            "name": "EPSG:3031"
        }
    },
    "type": "FeatureCollection"
}