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

{
    "features": [
        {
            "properties": {
                "pk": "440887"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                -6499999.30062451,
                                2165064.51892266
                            ],
                            [
                                -6416665.92843698,
                                2309402.15351751
                            ],
                            [
                                -6249999.18406193,
                                2309402.15351751
                            ],
                            [
                                -6166665.8118744,
                                2165064.51892266
                            ],
                            [
                                -6249999.18406193,
                                2020726.88432782
                            ],
                            [
                                -6416665.92843698,
                                2020726.88432782
                            ],
                            [
                                -6499999.30062451,
                                2165064.51892266
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        },
        {
            "properties": {
                "pk": "441217"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                -4999998.60124902,
                                2165064.51892266
                            ],
                            [
                                -4916665.22906149,
                                2309402.15351751
                            ],
                            [
                                -4749998.48468644,
                                2309402.15351751
                            ],
                            [
                                -4666665.11249891,
                                2165064.51892266
                            ],
                            [
                                -4749998.48468644,
                                2020726.88432782
                            ],
                            [
                                -4916665.22906149,
                                2020726.88432782
                            ],
                            [
                                -4999998.60124902,
                                2165064.51892266
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        },
        {
            "properties": {
                "pk": "441326"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                -4499998.36812386,
                                1876389.24973297
                            ],
                            [
                                -4416664.99593633,
                                2020726.88432782
                            ],
                            [
                                -4249998.25156128,
                                2020726.88432782
                            ],
                            [
                                -4166664.87937375,
                                1876389.24973297
                            ],
                            [
                                -4249998.25156128,
                                1732051.61513813
                            ],
                            [
                                -4416664.99593633,
                                1732051.61513813
                            ],
                            [
                                -4499998.36812386,
                                1876389.24973297
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        },
        {
            "properties": {
                "pk": "441378"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                -4249998.25156128,
                                1154701.07675875
                            ],
                            [
                                -4166664.87937375,
                                1299038.7113536
                            ],
                            [
                                -3999998.13499869,
                                1299038.7113536
                            ],
                            [
                                -3916664.76281117,
                                1154701.07675875
                            ],
                            [
                                -3999998.13499869,
                                1010363.44216391
                            ],
                            [
                                -4166664.87937375,
                                1010363.44216391
                            ],
                            [
                                -4249998.25156128,
                                1154701.07675875
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        },
        {
            "properties": {
                "pk": "441433"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                -3999998.13499869,
                                1010363.44216391
                            ],
                            [
                                -3916664.76281117,
                                1154701.07675875
                            ],
                            [
                                -3749998.01843611,
                                1154701.07675875
                            ],
                            [
                                -3666664.64624859,
                                1010363.44216391
                            ],
                            [
                                -3749998.01843611,
                                866025.807569066
                            ],
                            [
                                -3916664.76281117,
                                866025.807569066
                            ],
                            [
                                -3999998.13499869,
                                1010363.44216391
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        },
        {
            "properties": {
                "pk": "441434"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                -3999998.13499869,
                                1299038.7113536
                            ],
                            [
                                -3916664.76281117,
                                1443376.34594844
                            ],
                            [
                                -3749998.01843611,
                                1443376.34594844
                            ],
                            [
                                -3666664.64624859,
                                1299038.7113536
                            ],
                            [
                                -3749998.01843611,
                                1154701.07675875
                            ],
                            [
                                -3916664.76281117,
                                1154701.07675875
                            ],
                            [
                                -3999998.13499869,
                                1299038.7113536
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        },
        {
            "properties": {
                "pk": "441435"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                -3999998.13499869,
                                1587713.98054329
                            ],
                            [
                                -3916664.76281117,
                                1732051.61513813
                            ],
                            [
                                -3749998.01843611,
                                1732051.61513813
                            ],
                            [
                                -3666664.64624859,
                                1587713.98054329
                            ],
                            [
                                -3749998.01843611,
                                1443376.34594844
                            ],
                            [
                                -3916664.76281117,
                                1443376.34594844
                            ],
                            [
                                -3999998.13499869,
                                1587713.98054329
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        },
        {
            "properties": {
                "pk": "441437"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                -3999998.13499869,
                                2165064.51892266
                            ],
                            [
                                -3916664.76281117,
                                2309402.15351751
                            ],
                            [
                                -3749998.01843611,
                                2309402.15351751
                            ],
                            [
                                -3666664.64624859,
                                2165064.51892266
                            ],
                            [
                                -3749998.01843611,
                                2020726.88432782
                            ],
                            [
                                -3916664.76281117,
                                2020726.88432782
                            ],
                            [
                                -3999998.13499869,
                                2165064.51892266
                            ]
                        ]
                    ]
                ],
                "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": "441492"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                -3749998.01843611,
                                2309402.15351751
                            ],
                            [
                                -3666664.64624859,
                                2453739.78811235
                            ],
                            [
                                -3499997.90187353,
                                2453739.78811235
                            ],
                            [
                                -3416664.529686,
                                2309402.15351751
                            ],
                            [
                                -3499997.90187353,
                                2165064.51892266
                            ],
                            [
                                -3666664.64624859,
                                2165064.51892266
                            ],
                            [
                                -3749998.01843611,
                                2309402.15351751
                            ]
                        ]
                    ]
                ],
                "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": "442000"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                -1499996.96937288,
                                5917843.01838861
                            ],
                            [
                                -1416663.59718535,
                                6062180.65298346
                            ],
                            [
                                -1249996.8528103,
                                6062180.65298346
                            ],
                            [
                                -1166663.48062277,
                                5917843.01838861
                            ],
                            [
                                -1249996.8528103,
                                5773505.38379377
                            ],
                            [
                                -1416663.59718535,
                                5773505.38379377
                            ],
                            [
                                -1499996.96937288,
                                5917843.01838861
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        },
        {
            "properties": {
                "pk": "442054"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                -1249996.8528103,
                                5773505.38379377
                            ],
                            [
                                -1166663.48062277,
                                5917843.01838861
                            ],
                            [
                                -999996.736247716,
                                5917843.01838861
                            ],
                            [
                                -916663.364060189,
                                5773505.38379377
                            ],
                            [
                                -999996.736247716,
                                5629167.74919893
                            ],
                            [
                                -1166663.48062277,
                                5629167.74919893
                            ],
                            [
                                -1249996.8528103,
                                5773505.38379377
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        },
        {
            "properties": {
                "pk": "443212"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                4000005.59500391,
                                6495193.55676799
                            ],
                            [
                                4083338.96719144,
                                6639531.19136284
                            ],
                            [
                                4250005.7115665,
                                6639531.19136284
                            ],
                            [
                                4333339.08375402,
                                6495193.55676799
                            ],
                            [
                                4250005.7115665,
                                6350855.92217315
                            ],
                            [
                                4083338.96719144,
                                6350855.92217315
                            ],
                            [
                                4000005.59500391,
                                6495193.55676799
                            ]
                        ]
                    ]
                ],
                "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"
}