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/?taxon=2227988
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": "441547"
            },
            "geometry": {
                "type": "MultiPolygon",
                "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": "Feature",
            "properties": {
                "pk": "441549"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                -3499997.90187353,
                                2742415.05730204
                            ],
                            [
                                -3416664.529686,
                                2886752.69189689
                            ],
                            [
                                -3249997.78531095,
                                2886752.69189689
                            ],
                            [
                                -3166664.41312342,
                                2742415.05730204
                            ],
                            [
                                -3249997.78531095,
                                2598077.4227072
                            ],
                            [
                                -3416664.529686,
                                2598077.4227072
                            ],
                            [
                                -3499997.90187353,
                                2742415.05730204
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "pk": "441600"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                -3249997.78531095,
                                1732051.61513813
                            ],
                            [
                                -3166664.41312342,
                                1876389.24973297
                            ],
                            [
                                -2999997.66874837,
                                1876389.24973297
                            ],
                            [
                                -2916664.29656084,
                                1732051.61513813
                            ],
                            [
                                -2999997.66874837,
                                1587713.98054329
                            ],
                            [
                                -3166664.41312342,
                                1587713.98054329
                            ],
                            [
                                -3249997.78531095,
                                1732051.61513813
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "pk": "441601"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                -3249997.78531095,
                                2020726.88432782
                            ],
                            [
                                -3166664.41312342,
                                2165064.51892266
                            ],
                            [
                                -2999997.66874837,
                                2165064.51892266
                            ],
                            [
                                -2916664.29656084,
                                2020726.88432782
                            ],
                            [
                                -2999997.66874837,
                                1876389.24973297
                            ],
                            [
                                -3166664.41312342,
                                1876389.24973297
                            ],
                            [
                                -3249997.78531095,
                                2020726.88432782
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "pk": "441602"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                -3249997.78531095,
                                2309402.15351751
                            ],
                            [
                                -3166664.41312342,
                                2453739.78811235
                            ],
                            [
                                -2999997.66874837,
                                2453739.78811235
                            ],
                            [
                                -2916664.29656084,
                                2309402.15351751
                            ],
                            [
                                -2999997.66874837,
                                2165064.51892266
                            ],
                            [
                                -3166664.41312342,
                                2165064.51892266
                            ],
                            [
                                -3249997.78531095,
                                2309402.15351751
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "pk": "441603"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                -3249997.78531095,
                                2598077.4227072
                            ],
                            [
                                -3166664.41312342,
                                2742415.05730204
                            ],
                            [
                                -2999997.66874837,
                                2742415.05730204
                            ],
                            [
                                -2916664.29656084,
                                2598077.4227072
                            ],
                            [
                                -2999997.66874837,
                                2453739.78811235
                            ],
                            [
                                -3166664.41312342,
                                2453739.78811235
                            ],
                            [
                                -3249997.78531095,
                                2598077.4227072
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "pk": "441604"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                -3249997.78531095,
                                2886752.69189689
                            ],
                            [
                                -3166664.41312342,
                                3031090.32649173
                            ],
                            [
                                -2999997.66874837,
                                3031090.32649173
                            ],
                            [
                                -2916664.29656084,
                                2886752.69189689
                            ],
                            [
                                -2999997.66874837,
                                2742415.05730204
                            ],
                            [
                                -3166664.41312342,
                                2742415.05730204
                            ],
                            [
                                -3249997.78531095,
                                2886752.69189689
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "pk": "441657"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                -2999997.66874837,
                                2165064.51892266
                            ],
                            [
                                -2916664.29656084,
                                2309402.15351751
                            ],
                            [
                                -2749997.55218579,
                                2309402.15351751
                            ],
                            [
                                -2666664.17999826,
                                2165064.51892266
                            ],
                            [
                                -2749997.55218579,
                                2020726.88432782
                            ],
                            [
                                -2916664.29656084,
                                2020726.88432782
                            ],
                            [
                                -2999997.66874837,
                                2165064.51892266
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "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": "441711"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                -2749997.55218579,
                                2020726.88432782
                            ],
                            [
                                -2666664.17999826,
                                2165064.51892266
                            ],
                            [
                                -2499997.43562321,
                                2165064.51892266
                            ],
                            [
                                -2416664.06343568,
                                2020726.88432782
                            ],
                            [
                                -2499997.43562321,
                                1876389.24973297
                            ],
                            [
                                -2666664.17999826,
                                1876389.24973297
                            ],
                            [
                                -2749997.55218579,
                                2020726.88432782
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "pk": "441712"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                -2749997.55218579,
                                2309402.15351751
                            ],
                            [
                                -2666664.17999826,
                                2453739.78811235
                            ],
                            [
                                -2499997.43562321,
                                2453739.78811235
                            ],
                            [
                                -2416664.06343568,
                                2309402.15351751
                            ],
                            [
                                -2499997.43562321,
                                2165064.51892266
                            ],
                            [
                                -2666664.17999826,
                                2165064.51892266
                            ],
                            [
                                -2749997.55218579,
                                2309402.15351751
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "pk": "441713"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                -2749997.55218579,
                                2598077.4227072
                            ],
                            [
                                -2666664.17999826,
                                2742415.05730204
                            ],
                            [
                                -2499997.43562321,
                                2742415.05730204
                            ],
                            [
                                -2416664.06343568,
                                2598077.4227072
                            ],
                            [
                                -2499997.43562321,
                                2453739.78811235
                            ],
                            [
                                -2666664.17999826,
                                2453739.78811235
                            ],
                            [
                                -2749997.55218579,
                                2598077.4227072
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "pk": "441714"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                -2749997.55218579,
                                2886752.69189689
                            ],
                            [
                                -2666664.17999826,
                                3031090.32649173
                            ],
                            [
                                -2499997.43562321,
                                3031090.32649173
                            ],
                            [
                                -2416664.06343568,
                                2886752.69189689
                            ],
                            [
                                -2499997.43562321,
                                2742415.05730204
                            ],
                            [
                                -2666664.17999826,
                                2742415.05730204
                            ],
                            [
                                -2749997.55218579,
                                2886752.69189689
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "pk": "441715"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                -2749997.55218579,
                                3175427.96108657
                            ],
                            [
                                -2666664.17999826,
                                3319765.59568142
                            ],
                            [
                                -2499997.43562321,
                                3319765.59568142
                            ],
                            [
                                -2416664.06343568,
                                3175427.96108657
                            ],
                            [
                                -2499997.43562321,
                                3031090.32649173
                            ],
                            [
                                -2666664.17999826,
                                3031090.32649173
                            ],
                            [
                                -2749997.55218579,
                                3175427.96108657
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "pk": "441768"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                -2499997.43562321,
                                2453739.78811235
                            ],
                            [
                                -2416664.06343568,
                                2598077.4227072
                            ],
                            [
                                -2249997.31906062,
                                2598077.4227072
                            ],
                            [
                                -2166663.9468731,
                                2453739.78811235
                            ],
                            [
                                -2249997.31906062,
                                2309402.15351751
                            ],
                            [
                                -2416664.06343568,
                                2309402.15351751
                            ],
                            [
                                -2499997.43562321,
                                2453739.78811235
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "pk": "441769"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                -2499997.43562321,
                                2742415.05730204
                            ],
                            [
                                -2416664.06343568,
                                2886752.69189689
                            ],
                            [
                                -2249997.31906062,
                                2886752.69189689
                            ],
                            [
                                -2166663.9468731,
                                2742415.05730204
                            ],
                            [
                                -2249997.31906062,
                                2598077.4227072
                            ],
                            [
                                -2416664.06343568,
                                2598077.4227072
                            ],
                            [
                                -2499997.43562321,
                                2742415.05730204
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "pk": "441771"
            },
            "geometry": {
                "type": "MultiPolygon",
                "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": "Feature",
            "properties": {
                "pk": "441823"
            },
            "geometry": {
                "type": "MultiPolygon",
                "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": "Feature",
            "properties": {
                "pk": "442037"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                -1249996.8528103,
                                866025.807569066
                            ],
                            [
                                -1166663.48062277,
                                1010363.44216391
                            ],
                            [
                                -999996.736247716,
                                1010363.44216391
                            ],
                            [
                                -916663.364060189,
                                866025.807569066
                            ],
                            [
                                -999996.736247716,
                                721688.172974221
                            ],
                            [
                                -1166663.48062277,
                                721688.172974221
                            ],
                            [
                                -1249996.8528103,
                                866025.807569066
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "pk": "442093"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                -999996.736247716,
                                1010363.44216391
                            ],
                            [
                                -916663.364060189,
                                1154701.07675875
                            ],
                            [
                                -749996.619685135,
                                1154701.07675875
                            ],
                            [
                                -666663.247497608,
                                1010363.44216391
                            ],
                            [
                                -749996.619685135,
                                866025.807569066
                            ],
                            [
                                -916663.364060189,
                                866025.807569066
                            ],
                            [
                                -999996.736247716,
                                1010363.44216391
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "pk": "442149"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                -749996.619685135,
                                1443376.34594844
                            ],
                            [
                                -666663.247497608,
                                1587713.98054329
                            ],
                            [
                                -499996.503122553,
                                1587713.98054329
                            ],
                            [
                                -416663.130935026,
                                1443376.34594844
                            ],
                            [
                                -499996.503122553,
                                1299038.7113536
                            ],
                            [
                                -666663.247497608,
                                1299038.7113536
                            ],
                            [
                                -749996.619685135,
                                1443376.34594844
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "pk": "442150"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                -749996.619685135,
                                1732051.61513813
                            ],
                            [
                                -666663.247497608,
                                1876389.24973297
                            ],
                            [
                                -499996.503122553,
                                1876389.24973297
                            ],
                            [
                                -416663.130935026,
                                1732051.61513813
                            ],
                            [
                                -499996.503122553,
                                1587713.98054329
                            ],
                            [
                                -666663.247497608,
                                1587713.98054329
                            ],
                            [
                                -749996.619685135,
                                1732051.61513813
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "pk": "442151"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                -749996.619685135,
                                2020726.88432782
                            ],
                            [
                                -666663.247497608,
                                2165064.51892266
                            ],
                            [
                                -499996.503122553,
                                2165064.51892266
                            ],
                            [
                                -416663.130935026,
                                2020726.88432782
                            ],
                            [
                                -499996.503122553,
                                1876389.24973297
                            ],
                            [
                                -666663.247497608,
                                1876389.24973297
                            ],
                            [
                                -749996.619685135,
                                2020726.88432782
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "pk": "442243"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                -249996.386559972,
                                -3175427.96108657
                            ],
                            [
                                -166663.014372444,
                                -3031090.32649173
                            ],
                            [
                                3.73000261001289,
                                -3031090.32649173
                            ],
                            [
                                83337.1021901372,
                                -3175427.96108657
                            ],
                            [
                                3.73000261001289,
                                -3319765.59568142
                            ],
                            [
                                -166663.014372444,
                                -3319765.59568142
                            ],
                            [
                                -249996.386559972,
                                -3175427.96108657
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "pk": "442410"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                500003.963127773,
                                -2742415.05730204
                            ],
                            [
                                583337.3353153,
                                -2598077.4227072
                            ],
                            [
                                750004.079690354,
                                -2598077.4227072
                            ],
                            [
                                833337.451877881,
                                -2742415.05730204
                            ],
                            [
                                750004.079690354,
                                -2886752.69189688
                            ],
                            [
                                583337.3353153,
                                -2886752.69189688
                            ],
                            [
                                500003.963127773,
                                -2742415.05730204
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "pk": "442459"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                750004.079690354,
                                -4330129.03784533
                            ],
                            [
                                833337.451877881,
                                -4185791.40325048
                            ],
                            [
                                1000004.19625294,
                                -4185791.40325048
                            ],
                            [
                                1083337.56844046,
                                -4330129.03784533
                            ],
                            [
                                1000004.19625294,
                                -4474466.67244017
                            ],
                            [
                                833337.451877881,
                                -4474466.67244017
                            ],
                            [
                                750004.079690354,
                                -4330129.03784533
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "pk": "442460"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                750004.079690354,
                                -4041453.76865564
                            ],
                            [
                                833337.451877881,
                                -3897116.13406079
                            ],
                            [
                                1000004.19625294,
                                -3897116.13406079
                            ],
                            [
                                1083337.56844046,
                                -4041453.76865564
                            ],
                            [
                                1000004.19625294,
                                -4185791.40325048
                            ],
                            [
                                833337.451877881,
                                -4185791.40325048
                            ],
                            [
                                750004.079690354,
                                -4041453.76865564
                            ]
                        ]
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "pk": "442985"
            },
            "geometry": {
                "type": "MultiPolygon",
                "coordinates": [
                    [
                        [
                            [
                                3000005.12875359,
                                4474466.67244017
                            ],
                            [
                                3083338.50094112,
                                4618804.30703502
                            ],
                            [
                                3250005.24531617,
                                4618804.30703502
                            ],
                            [
                                3333338.6175037,
                                4474466.67244017
                            ],
                            [
                                3250005.24531617,
                                4330129.03784533
                            ],
                            [
                                3083338.50094112,
                                4330129.03784533
                            ],
                            [
                                3000005.12875359,
                                4474466.67244017
                            ]
                        ]
                    ]
                ]
            }
        }
    ]
}