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

Lat/lng reversed? #7

Open
garex opened this issue Apr 8, 2021 · 0 comments
Open

Lat/lng reversed? #7

garex opened this issue Apr 8, 2021 · 0 comments

Comments

@garex
Copy link
Contributor

garex commented Apr 8, 2021

See evanoberholster/timezoneLookup@1163a7d

Seems like it needs to be reversed back? I dont' know where to better to it -- in evanoberholster/timezoneLookup or here.

Now with latest data it gives noncense.

https://geohack.toolforge.org/geohack.php?pagename=Novosibirsk&params=55_03_N_82_57_E_type:city(1473754)_region:RU

https://nominatim.openstreetmap.org/reverse?lat=55.05&lon=82.95&zoom=6

docker run -p8084:8080 racemap/tz-service:latest-assets
Unable to find image 'racemap/tz-service:latest-assets' locally
latest-assets: Pulling from racemap/tz-service
ca3cd42a7c95: Already exists 
afa38902cf51: Pull complete 
401f9538a128: Pull complete 
632ed9e47c18: Pull complete 
ef58f26a83ff: Pull complete 
32522699fdba: Pull complete 
Digest: sha256:b1c2b99cb58e34cb0f8537c253a6e9bf656c1aa1759ae0c42b45587584e4a0f1
Status: Downloaded newer image for racemap/tz-service:latest-assets

http://localhost:8084/api?lng=82.95&lat=55.05

{
  "name": "Etc/GMT-4",
  "id": "+04",
  "offset": 14400
}

But gives correct http://localhost:8084/api?lat=82.95&lng=55.05

{
  "name": "Asia/Novosibirsk",
  "id": "+07",
  "offset": 25200
}
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

1 participant