Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PROPOSAL] Implement geo-grid query filtering #689

Open
chet5619 opened this issue Oct 21, 2024 · 1 comment
Open

[PROPOSAL] Implement geo-grid query filtering #689

chet5619 opened this issue Oct 21, 2024 · 1 comment

Comments

@chet5619
Copy link

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.

@chet5619
Copy link
Author

Please also comment if there were any sort of workarounds to this issue as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant