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

Wrong location visualized on map! #274

Open
Raven888888 opened this issue Jul 31, 2023 · 2 comments
Open

Wrong location visualized on map! #274

Raven888888 opened this issue Jul 31, 2023 · 2 comments

Comments

@Raven888888
Copy link

This is the stop visualized in TC map, they all seems shifted diagonally by the same amount from the actual lat long.
image

This is the actual locations on google map, and is the same on OSM.
image

I check in the database

select * from stops where id = 'KJ329'

KJ329	0		false		3.04168	101.78925	Shell SG Long	false	false

As you can see, the database stores the correct and same lat long as the one on google map, why the web UI show wrongly?

@vesavlad
Copy link

vesavlad commented Feb 7, 2024

it's because of the map layer used ... your data is fine but your are comparing google agains open street, if you check openstreetmap.org ... same behavior

@Raven888888
Copy link
Author

Thanks @vesavlad . I actually found out the root cause. It is not what you explained. The GPS coordinates are actually correct on google and osm. But Transitclock has hardcoded China GPS offset which includes country outside China.

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

2 participants