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

Which type of coordinate system does the setPosition API required? #53

Open
forunix opened this issue Mar 19, 2024 · 1 comment
Open

Comments

@forunix
Copy link

forunix commented Mar 19, 2024

Which type of coordinate system does the setPosition required? Is it WGS-84? or some others? Thanks!

@buelowp
Copy link
Owner

buelowp commented Mar 19, 2024

OK, so it's my understanding (I'm not actually all that tied to this, so it's just my understanding, no science here) that WGS84 and GPS LAT and LON are roughly the same. In that, GPS uses WGS84 as it's initial frame of reference. If that's wrong. so be it. If that answer doesn't make sense, I didn't write the original implementation of the algorithm, which happened much later than WGS84 anyway.

That said, use the current accepted GPS LAT and LON for any given location, and you'll be VERY close to correct no matter what. I'm currently within seconds based on observation where I live using the coordinates from google maps for my location. This library isn't meant to be perfect, but rather, just to get you pretty close.

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