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

only negative longitude works positive longitude return empty resultset #66

Open
keytabdev opened this issue Apr 5, 2023 · 5 comments

Comments

@keytabdev
Copy link

Hi,

Thanks for the amazing work in porting this library. I was trying to use it and noticed that it works only for negative longitude, for positive longitude I get empty result-set.

For example if I have a dataset of
[
{
"position": {
"lat": 15.478500,
"lng": -73.924789
},
"name": "Starbucks - 00001",
"address": "Address 1",
"phone": "907-277-2477"
},
{
"position": {
"lat": 15.43785403,
"lng": 74.88716686
},
"name": "Starbucks - 00002",
"address": "Address 2",
"phone": "907-277-2477"
}
]

querybyradius works only for the -ve longitude value. I am not sure if I am doing something incorrectly. Can you please let me know

@keytabdev keytabdev changed the title only negative lats works positive longitude return empty result-set only negative longitude works positive longitude return empty result-set Apr 5, 2023
@keytabdev keytabdev changed the title only negative longitude works positive longitude return empty result-set only negative longitude works positive longitude return empty resultset Apr 5, 2023
@ajazmohammed
Copy link

@keytabdev Did you find a solution for this? I'm also running into the same issue. Please let me know.

@levinunnink
Copy link

I'm running into the same issue.

@darksun
Copy link

darksun commented Jul 24, 2023

There was/is an issue with how Long is checked that was fixed here - #36

It was merged but a new version of the package was never published. Try your test case with this change included a see if it helps.

@keytabdev
Copy link
Author

keytabdev commented Jul 29, 2023 via email

@Jurajzovinec
Copy link

Also running into the same issue

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

5 participants