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

{
    "features": [
        {
            "properties": {
                "pk": "441216"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                -4999998.60124902,
                                1876389.24973297
                            ],
                            [
                                -4916665.22906149,
                                2020726.88432782
                            ],
                            [
                                -4749998.48468644,
                                2020726.88432782
                            ],
                            [
                                -4666665.11249891,
                                1876389.24973297
                            ],
                            [
                                -4749998.48468644,
                                1732051.61513813
                            ],
                            [
                                -4916665.22906149,
                                1732051.61513813
                            ],
                            [
                                -4999998.60124902,
                                1876389.24973297
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        },
        {
            "properties": {
                "pk": "441651"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                -2999997.66874837,
                                433012.903784533
                            ],
                            [
                                -2916664.29656084,
                                577350.538379378
                            ],
                            [
                                -2749997.55218579,
                                577350.538379378
                            ],
                            [
                                -2666664.17999826,
                                433012.903784533
                            ],
                            [
                                -2749997.55218579,
                                288675.269189689
                            ],
                            [
                                -2916664.29656084,
                                288675.269189689
                            ],
                            [
                                -2999997.66874837,
                                433012.903784533
                            ]
                        ]
                    ]
                ],
                "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": "442297"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                3.73000261001289,
                                -3608440.86487111
                            ],
                            [
                                83337.1021901372,
                                -3464103.23027626
                            ],
                            [
                                250003.846565192,
                                -3464103.23027626
                            ],
                            [
                                333337.218752719,
                                -3608440.86487111
                            ],
                            [
                                250003.846565192,
                                -3752778.49946595
                            ],
                            [
                                83337.1021901372,
                                -3752778.49946595
                            ],
                            [
                                3.73000261001289,
                                -3608440.86487111
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        },
        {
            "properties": {
                "pk": "442304"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                3.73000261001289,
                                -1587713.98054329
                            ],
                            [
                                83337.1021901372,
                                -1443376.34594844
                            ],
                            [
                                250003.846565192,
                                -1443376.34594844
                            ],
                            [
                                333337.218752719,
                                -1587713.98054329
                            ],
                            [
                                250003.846565192,
                                -1732051.61513813
                            ],
                            [
                                83337.1021901372,
                                -1732051.61513813
                            ],
                            [
                                3.73000261001289,
                                -1587713.98054329
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        },
        {
            "properties": {
                "pk": "442305"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                3.73000261001289,
                                -1299038.7113536
                            ],
                            [
                                83337.1021901372,
                                -1154701.07675875
                            ],
                            [
                                250003.846565192,
                                -1154701.07675875
                            ],
                            [
                                333337.218752719,
                                -1299038.7113536
                            ],
                            [
                                250003.846565192,
                                -1443376.34594844
                            ],
                            [
                                83337.1021901372,
                                -1443376.34594844
                            ],
                            [
                                3.73000261001289,
                                -1299038.7113536
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        },
        {
            "properties": {
                "pk": "442577"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                1250004.31281552,
                                -2020726.88432782
                            ],
                            [
                                1333337.68500304,
                                -1876389.24973297
                            ],
                            [
                                1500004.4293781,
                                -1876389.24973297
                            ],
                            [
                                1583337.80156563,
                                -2020726.88432782
                            ],
                            [
                                1500004.4293781,
                                -2165064.51892266
                            ],
                            [
                                1333337.68500304,
                                -2165064.51892266
                            ],
                            [
                                1250004.31281552,
                                -2020726.88432782
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        },
        {
            "properties": {
                "pk": "442632"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                1500004.4293781,
                                -2165064.51892266
                            ],
                            [
                                1583337.80156563,
                                -2020726.88432782
                            ],
                            [
                                1750004.54594068,
                                -2020726.88432782
                            ],
                            [
                                1833337.91812821,
                                -2165064.51892266
                            ],
                            [
                                1750004.54594068,
                                -2309402.15351751
                            ],
                            [
                                1583337.80156563,
                                -2309402.15351751
                            ],
                            [
                                1500004.4293781,
                                -2165064.51892266
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        }
    ],
    "crs": {
        "type": "name",
        "properties": {
            "name": "EPSG:3031"
        }
    },
    "type": "FeatureCollection"
}