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
Querying from my current location returns weather from a different town with the same name #986
Comments
curl wttr.in/Halle,Germany?1
┌──────────────────────────────┬───────────────────────┤ Wed 01 May ├───────────────────────┬──────────────────────────────┐ |
|
Then the geoiplookup database is wrong, nothing wtrr.in can do about. No wonder if there are like a dozen Halles here in Germany. |
ip2location returns the correct town, state and country and also the correct geo coordinates for my ip. |
wttr.in does not use the region for Germany. See code in Line 378 in 575908a
|
I am currently located in
"Halle (Saale), Sachsen-Anhalt, Germany" and
https://wttr.in
returns the weather for"Halle, Nordrhein-Westfalen, Germany"
Update:
curl https://wttr.in/
from a Wi-Fi connection of a local ISP provider in Halle (Saale) returns the weather of Halle (Westfalen) instead of Halle (Saale). The same happens by opening https://wttr.in in a browser. My expectation is that the location chosen is Halle (Saale) as I am currently using a Wi-Fi connection inside the town. wttr.in seems to know the name of the town I am in but does pick the wrong one with the same name.The text was updated successfully, but these errors were encountered: