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

{
    "features": [
        {
            "properties": {
                "pk": "441547"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                -3499997.90187353,
                                2165064.51892266
                            ],
                            [
                                -3416664.529686,
                                2309402.15351751
                            ],
                            [
                                -3249997.78531095,
                                2309402.15351751
                            ],
                            [
                                -3166664.41312342,
                                2165064.51892266
                            ],
                            [
                                -3249997.78531095,
                                2020726.88432782
                            ],
                            [
                                -3416664.529686,
                                2020726.88432782
                            ],
                            [
                                -3499997.90187353,
                                2165064.51892266
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        },
        {
            "properties": {
                "pk": "441654"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                -2999997.66874837,
                                1299038.7113536
                            ],
                            [
                                -2916664.29656084,
                                1443376.34594844
                            ],
                            [
                                -2749997.55218579,
                                1443376.34594844
                            ],
                            [
                                -2666664.17999826,
                                1299038.7113536
                            ],
                            [
                                -2749997.55218579,
                                1154701.07675875
                            ],
                            [
                                -2916664.29656084,
                                1154701.07675875
                            ],
                            [
                                -2999997.66874837,
                                1299038.7113536
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        },
        {
            "properties": {
                "pk": "441708"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                -2749997.55218579,
                                1154701.07675875
                            ],
                            [
                                -2666664.17999826,
                                1299038.7113536
                            ],
                            [
                                -2499997.43562321,
                                1299038.7113536
                            ],
                            [
                                -2416664.06343568,
                                1154701.07675875
                            ],
                            [
                                -2499997.43562321,
                                1010363.44216391
                            ],
                            [
                                -2666664.17999826,
                                1010363.44216391
                            ],
                            [
                                -2749997.55218579,
                                1154701.07675875
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        },
        {
            "properties": {
                "pk": "441709"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                -2749997.55218579,
                                1443376.34594844
                            ],
                            [
                                -2666664.17999826,
                                1587713.98054329
                            ],
                            [
                                -2499997.43562321,
                                1587713.98054329
                            ],
                            [
                                -2416664.06343568,
                                1443376.34594844
                            ],
                            [
                                -2499997.43562321,
                                1299038.7113536
                            ],
                            [
                                -2666664.17999826,
                                1299038.7113536
                            ],
                            [
                                -2749997.55218579,
                                1443376.34594844
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        },
        {
            "properties": {
                "pk": "441710"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                -2749997.55218579,
                                1732051.61513813
                            ],
                            [
                                -2666664.17999826,
                                1876389.24973297
                            ],
                            [
                                -2499997.43562321,
                                1876389.24973297
                            ],
                            [
                                -2416664.06343568,
                                1732051.61513813
                            ],
                            [
                                -2499997.43562321,
                                1587713.98054329
                            ],
                            [
                                -2666664.17999826,
                                1587713.98054329
                            ],
                            [
                                -2749997.55218579,
                                1732051.61513813
                            ]
                        ]
                    ]
                ],
                "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": "441823"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                -2249997.31906062,
                                2598077.4227072
                            ],
                            [
                                -2166663.9468731,
                                2742415.05730204
                            ],
                            [
                                -1999997.20249804,
                                2742415.05730204
                            ],
                            [
                                -1916663.83031052,
                                2598077.4227072
                            ],
                            [
                                -1999997.20249804,
                                2453739.78811235
                            ],
                            [
                                -2166663.9468731,
                                2453739.78811235
                            ],
                            [
                                -2249997.31906062,
                                2598077.4227072
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        },
        {
            "properties": {
                "pk": "443250"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                4250005.7115665,
                                1732051.61513813
                            ],
                            [
                                4333339.08375402,
                                1876389.24973297
                            ],
                            [
                                4500005.82812908,
                                1876389.24973297
                            ],
                            [
                                4583339.2003166,
                                1732051.61513813
                            ],
                            [
                                4500005.82812908,
                                1587713.98054329
                            ],
                            [
                                4333339.08375402,
                                1587713.98054329
                            ],
                            [
                                4250005.7115665,
                                1732051.61513813
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        }
    ],
    "crs": {
        "type": "name",
        "properties": {
            "name": "EPSG:3031"
        }
    },
    "type": "FeatureCollection"
}