You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. thank you for making non-api-key db in advance. I'm so glad that I can embed weather tab in my app so easily.
Describe the bug
I got lat,long from chrome locator and tried get response weatherdbi:
// in javascriptconstlongitude=position.coords.longitude;// chrome functionconstlatitude=position.coords.latitude;// chrome functionconsturl=`https://weatherdbi.herokuapp.com/data/weather/${latitude},${longitude}`;
but I got failed response with the location nearby my home. After that day, I checked the same code in other place and got the right response. So, for more infomation, I checked these regions in google map that they are indicating certain place in South Korea. And here's the things..
To Reproduce
Four examples with very small changes ~ 0.1 changes in longitude:
It doesn't seem to work in certain sections. It's a difficult problem to guess because I can't look inside the code. Can you figure it out? If you can catch the reason, please fix it for useful weather database 😎
The text was updated successfully, but these errors were encountered:
semir4in
added
the
possible-bug
The issue is possibly a bug but needs either more information or additional investigation.
label
Aug 1, 2022
In the present implementation, the coordinates work at locality level precision (that is - local area name inside a city). But the processing of your invalid coordinates 37.407812,127.071824 gives back locality name as 13452 which I think is the postal code. A similar observation was recorded for the other invalid query.
This is happening due to the third-party service that we use for our API, hence cannot be fixed somehow. The locality name is important for further processing, but its being a number causes this issue.
It's a little sad that the unwanted transformation is happening at 3rd party. If I can change the coordinates to a city name, this problem can be solved easily.
Thank you for your kind reply. Have a good weekend!
Hello. thank you for making non-api-key db in advance. I'm so glad that I can embed weather tab in my app so easily.
Describe the bug
I got
lat,long
from chrome locator and tried get response weatherdbi:but I got failed response with the location nearby my home. After that day, I checked the same code in other place and got the right response. So, for more infomation, I checked these regions in google map that they are indicating certain place in South Korea. And here's the things..
To Reproduce
Four examples with very small changes ~ 0.1 changes in longitude:
https://weatherdbi.herokuapp.com/data/weather/37.407812,127.171824
Response -> region: Jungwon-gu, Seongnam-si, Gyeonggi-do, South Korea
https://weatherdbi.herokuapp.com/data/weather/37.407812,127.071824
Response -> message: invalid query
https://weatherdbi.herokuapp.com/data/weather/37.407812,126.971824
Response -> message: invalid query
https://weatherdbi.herokuapp.com/data/weather/37.407812,126.871824
Response -> region: Hagon-dong, Gwangmyeong-si, Gyeonggi-do, South Korea
It doesn't seem to work in certain sections. It's a difficult problem to guess because I can't look inside the code. Can you figure it out? If you can catch the reason, please fix it for useful weather database 😎
The text was updated successfully, but these errors were encountered: