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

Bug in parsing the longitude and latitude #8

Open
especialEspecially opened this issue Jun 5, 2020 · 6 comments
Open

Bug in parsing the longitude and latitude #8

especialEspecially opened this issue Jun 5, 2020 · 6 comments

Comments

@especialEspecially
Copy link

Hello,
I am using your api, but it has a bug in it. In java, if a double value has the format "0.00043455", it is shown with the scientific notation. I am trying to get the city name for the latitude = 51.6667034 and longitude = 0.0009485. But I get an exception, because you use String.valueOf() in your code in NominatimAPI which makes 9.485E-4 and when this format is used as the address of the nominatim website, the correct information cannot be extracted.
Could you please correct it?

@michaelassraf
Copy link
Collaborator

Hi @especialEspecially,

Can you please create a pull request?

Michael

@especialEspecially
Copy link
Author

@michaelassraf The pull request is not active. It seems that there has been no changes.

@michaelassraf
Copy link
Collaborator

Interesting, so it's already fixed in master?

@especialEspecially
Copy link
Author

No, unfortunately, it doesn't seem to be changed.

@especialEspecially
Copy link
Author

@michaelassraf Did you change anything? I still see no updates.

@tanishcb
Copy link

tanishcb commented Feb 7, 2023

Can anyone tell the url to call the api in the localhost ?

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