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=8186067
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": "441492"
            },
            "geometry": {
                "type": "MultiPolygon",
                "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": "Feature",
            "properties": {
                "pk": "441545"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                -3499997.90187353,
                                1587713.98054329
                            ],
                            [
                                -3416664.529686,
                                1732051.61513813
                            ],
                            [
                                -3249997.78531095,
                                1732051.61513813
                            ],
                            [
                                -3166664.41312342,
                                1587713.98054329
                            ],
                            [
                                -3249997.78531095,
                                1443376.34594844
                            ],
                            [
                                -3416664.529686,
                                1443376.34594844
                            ],
                            [
                                -3499997.90187353,
                                1587713.98054329
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "pk": "441548"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                -3499997.90187353,
                                2453739.78811235
                            ],
                            [
                                -3416664.529686,
                                2598077.4227072
                            ],
                            [
                                -3249997.78531095,
                                2598077.4227072
                            ],
                            [
                                -3166664.41312342,
                                2453739.78811235
                            ],
                            [
                                -3249997.78531095,
                                2309402.15351751
                            ],
                            [
                                -3416664.529686,
                                2309402.15351751
                            ],
                            [
                                -3499997.90187353,
                                2453739.78811235
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "pk": "441599"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                -3249997.78531095,
                                1443376.34594844
                            ],
                            [
                                -3166664.41312342,
                                1587713.98054329
                            ],
                            [
                                -2999997.66874837,
                                1587713.98054329
                            ],
                            [
                                -2916664.29656084,
                                1443376.34594844
                            ],
                            [
                                -2999997.66874837,
                                1299038.7113536
                            ],
                            [
                                -3166664.41312342,
                                1299038.7113536
                            ],
                            [
                                -3249997.78531095,
                                1443376.34594844
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "pk": "441654"
            },
            "geometry": {
                "type": "MultiPolygon",
                "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": "Feature",
            "properties": {
                "pk": "441659"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                -2999997.66874837,
                                2742415.05730204
                            ],
                            [
                                -2916664.29656084,
                                2886752.69189689
                            ],
                            [
                                -2749997.55218579,
                                2886752.69189689
                            ],
                            [
                                -2666664.17999826,
                                2742415.05730204
                            ],
                            [
                                -2749997.55218579,
                                2598077.4227072
                            ],
                            [
                                -2916664.29656084,
                                2598077.4227072
                            ],
                            [
                                -2999997.66874837,
                                2742415.05730204
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "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": "443195"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                4000005.59500391,
                                1587713.98054329
                            ],
                            [
                                4083338.96719144,
                                1732051.61513813
                            ],
                            [
                                4250005.7115665,
                                1732051.61513813
                            ],
                            [
                                4333339.08375402,
                                1587713.98054329
                            ],
                            [
                                4250005.7115665,
                                1443376.34594844
                            ],
                            [
                                4083338.96719144,
                                1443376.34594844
                            ],
                            [
                                4000005.59500391,
                                1587713.98054329
                            ]
                        ]
                    ]
                ]
            }
        }
    ]
}