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 order for Latitude and Longitude coordinates. #141

Open
nitink25 opened this issue May 10, 2020 · 0 comments
Open

Wrong order for Latitude and Longitude coordinates. #141

nitink25 opened this issue May 10, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@nitink25
Copy link

For Spherical and Spherical Equatorial points, Boost.Geometry has assigned first coordinate for Longitude and second coordinate for Latitude. In Astronomy wrapper classes the order is reverse of that.

When we convert a point from spherical to spherical_equatorial only the Latitude must change(complemented with 90 deg) but due to this error Longitude gets complemented in our Library.
Hence calculations will go wrong when dealing with real world problems.

@lpranam lpranam added the bug Something isn't working label May 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants