Skip to content

[PROPOSAL] Implement geo-grid query filtering #689

@chet5619

Description

@chet5619

What kind of business use case are you trying to solve? What are your requirements?

When working with a mapping solution that implements visualization of a geohash, geohex or geotile aggregated shapes a user may want to open a dialog that returns only the aggregated information for a few of the many binning shapes. For example... i may be viewing a map at a scale covering the entire globe, but there may be a hot spot of a few geohash bins that i want to "select" and return just those aggregates.

What is the problem? What is preventing you from meeting the requirements?
Currently the only filtering possible for geohash/hex/tile is to use a bounding box to limit the results, and while you can use geohash binning values to get close it is not always the correct information that is returned.

What are you proposing? What do you suggest we do to solve the problem or improve the existing situation?
The proposal here is really just to implement a similar capability that can be found in Elasticsearch.
https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-geo-grid-query.html
The geo-grid query is designed to match the documents that fall inside a bucket of a geogrid aggregation by providing the key of the bucket. And since you can use Boolean query to combine them the number of bins used in the filter is really limitless which makes this implementation more useful than the geo_bounding_box.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions