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

{
    "features": [
        {
            "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": "442287"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                3.73000261001289,
                                -6495193.55676799
                            ],
                            [
                                83337.1021901372,
                                -6350855.92217315
                            ],
                            [
                                250003.846565192,
                                -6350855.92217315
                            ],
                            [
                                333337.218752719,
                                -6495193.55676799
                            ],
                            [
                                250003.846565192,
                                -6639531.19136284
                            ],
                            [
                                83337.1021901372,
                                -6639531.19136284
                            ],
                            [
                                3.73000261001289,
                                -6495193.55676799
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        },
        {
            "properties": {
                "pk": "442288"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                3.73000261001289,
                                -6206518.2875783
                            ],
                            [
                                83337.1021901372,
                                -6062180.65298346
                            ],
                            [
                                250003.846565192,
                                -6062180.65298346
                            ],
                            [
                                333337.218752719,
                                -6206518.2875783
                            ],
                            [
                                250003.846565192,
                                -6350855.92217315
                            ],
                            [
                                83337.1021901372,
                                -6350855.92217315
                            ],
                            [
                                3.73000261001289,
                                -6206518.2875783
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        },
        {
            "properties": {
                "pk": "442289"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                3.73000261001289,
                                -5917843.01838861
                            ],
                            [
                                83337.1021901372,
                                -5773505.38379377
                            ],
                            [
                                250003.846565192,
                                -5773505.38379377
                            ],
                            [
                                333337.218752719,
                                -5917843.01838861
                            ],
                            [
                                250003.846565192,
                                -6062180.65298346
                            ],
                            [
                                83337.1021901372,
                                -6062180.65298346
                            ],
                            [
                                3.73000261001289,
                                -5917843.01838861
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        },
        {
            "properties": {
                "pk": "442343"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                250003.846565192,
                                -6062180.65298346
                            ],
                            [
                                333337.218752719,
                                -5917843.01838861
                            ],
                            [
                                500003.963127773,
                                -5917843.01838861
                            ],
                            [
                                583337.3353153,
                                -6062180.65298346
                            ],
                            [
                                500003.963127773,
                                -6206518.2875783
                            ],
                            [
                                333337.218752719,
                                -6206518.2875783
                            ],
                            [
                                250003.846565192,
                                -6062180.65298346
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        },
        {
            "properties": {
                "pk": "442509"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                1000004.19625294,
                                -5917843.01838861
                            ],
                            [
                                1083337.56844046,
                                -5773505.38379377
                            ],
                            [
                                1250004.31281552,
                                -5773505.38379377
                            ],
                            [
                                1333337.68500304,
                                -5917843.01838861
                            ],
                            [
                                1250004.31281552,
                                -6062180.65298346
                            ],
                            [
                                1083337.56844046,
                                -6062180.65298346
                            ],
                            [
                                1000004.19625294,
                                -5917843.01838861
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        },
        {
            "properties": {
                "pk": "442807"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                2250004.77906584,
                                866025.807569066
                            ],
                            [
                                2333338.15125337,
                                1010363.44216391
                            ],
                            [
                                2500004.89562843,
                                1010363.44216391
                            ],
                            [
                                2583338.26781595,
                                866025.807569066
                            ],
                            [
                                2500004.89562843,
                                721688.172974221
                            ],
                            [
                                2333338.15125337,
                                721688.172974221
                            ],
                            [
                                2250004.77906584,
                                866025.807569066
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        },
        {
            "properties": {
                "pk": "442950"
            },
            "type": "Feature",
            "geometry": {
                "coordinates": [
                    [
                        [
                            [
                                3000005.12875359,
                                -5629167.74919892
                            ],
                            [
                                3083338.50094112,
                                -5484830.11460408
                            ],
                            [
                                3250005.24531617,
                                -5484830.11460408
                            ],
                            [
                                3333338.6175037,
                                -5629167.74919892
                            ],
                            [
                                3250005.24531617,
                                -5773505.38379377
                            ],
                            [
                                3083338.50094112,
                                -5773505.38379377
                            ],
                            [
                                3000005.12875359,
                                -5629167.74919892
                            ]
                        ]
                    ]
                ],
                "type": "MultiPolygon"
            }
        }
    ],
    "crs": {
        "type": "name",
        "properties": {
            "name": "EPSG:3031"
        }
    },
    "type": "FeatureCollection"
}