Process queries for HexGrid objects. Will be deprecated in future version :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=7665839
HTTP 200 OK
Allow: GET, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "type": "FeatureCollection",
    "crs": {
        "type": "name",
        "properties": {
            "name": "EPSG:3031"
        }
    },
    "features": [
        {
            "type": "Feature",
            "properties": {
                "pk": "441708"
            },
            "geometry": {
                "type": "MultiPolygon",
                "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": "Feature",
            "properties": {
                "pk": "441763"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                -2499997.43562321,
                                1010363.44216391
                            ],
                            [
                                -2416664.06343568,
                                1154701.07675875
                            ],
                            [
                                -2249997.31906062,
                                1154701.07675875
                            ],
                            [
                                -2166663.9468731,
                                1010363.44216391
                            ],
                            [
                                -2249997.31906062,
                                866025.807569066
                            ],
                            [
                                -2416664.06343568,
                                866025.807569066
                            ],
                            [
                                -2499997.43562321,
                                1010363.44216391
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "pk": "441812"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                -2249997.31906062,
                                -577350.538379377
                            ],
                            [
                                -2166663.9468731,
                                -433012.903784532
                            ],
                            [
                                -1999997.20249804,
                                -433012.903784532
                            ],
                            [
                                -1916663.83031052,
                                -577350.538379377
                            ],
                            [
                                -1999997.20249804,
                                -721688.17297422
                            ],
                            [
                                -2166663.9468731,
                                -721688.17297422
                            ],
                            [
                                -2249997.31906062,
                                -577350.538379377
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "pk": "442297"
            },
            "geometry": {
                "type": "MultiPolygon",
                "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": "Feature",
            "properties": {
                "pk": "443259"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                4250005.7115665,
                                4330129.03784533
                            ],
                            [
                                4333339.08375402,
                                4474466.67244017
                            ],
                            [
                                4500005.82812908,
                                4474466.67244017
                            ],
                            [
                                4583339.2003166,
                                4330129.03784533
                            ],
                            [
                                4500005.82812908,
                                4185791.40325048
                            ],
                            [
                                4333339.08375402,
                                4185791.40325048
                            ],
                            [
                                4250005.7115665,
                                4330129.03784533
                            ]
                        ]
                    ]
                ]
            }
        }
    ]
}