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

elasticsearch geohashes produce duplicate #37

Open
keithfraley opened this issue Jan 17, 2019 · 0 comments
Open

elasticsearch geohashes produce duplicate #37

keithfraley opened this issue Jan 17, 2019 · 0 comments

Comments

@keithfraley
Copy link

keithfraley commented Jan 17, 2019

Hello, I am almost certain this isnt an ngeohash issue, but I am hoping there is might be a way to leverage ngeohash to mitigate the problem.

I am using a 3rd party mapping js api to display elasticsearch aggregations. When a user selects an area of interest to display (by panning or zooming) the actual request that is sent thru the api to elasticsearch is broken into 8 separate bounding boxes, each with a distinct set of non overlapping coordinates. However, when I bring each each request back I am getting overlapping geohashes at the edges, see attached. The darker squares are actually two, overlapping records from separate requests. I am trying to show heatmaps and this really makes elasticsearch unusable because its not actually conveying the whole truth.

Is there anyway to make sure that the geohashes dont overlap with seperate requests?

image

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

No branches or pull requests

1 participant