Skip to content

Query for radius appears to not be accurate #82

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

Open
reneeOlson opened this issue May 4, 2017 · 3 comments
Open

Query for radius appears to not be accurate #82

reneeOlson opened this issue May 4, 2017 · 3 comments

Comments

@reneeOlson
Copy link

reneeOlson commented May 4, 2017

Hello. I've been doing queries within a radius where I start at 10 miles and then I increase by increments of 10 miles. What I've noticed is that locations that should be within my radius are coming back in larger radiuses....for example 1 location within 14.3 mi and another within 17 miles are not getting returned at the 20 mile radius, but instead at the 30 mile. And 1 location within 25.2 miles and another within 28.5 are not getting returned until the 50 mile radius instead of expected 30 mile radius. I verified the distance from my location at two websites that calculate distance between coordinates. Has anyone noticed this?

@reneeOlson reneeOlson changed the title Query for radius appear to not be accurate Query for radius appears to not be accurate May 4, 2017
@alexanderkhitev
Copy link

Hello @reneeOlson! I faced the same problem

@reneeOlson
Copy link
Author

Hi @alexsanderkhitev. Thanks for responding. So it is a real issue then. I wonder if the Geofire/Firebase team knows about it and if they're working on fixing it.

@jglanfield
Copy link

We were having the same issue, but then found we were caching data incorrectly. Make sure you set keepSynced(true) on your database references, and then see if that helps.

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

3 participants