Skip to content

Wrong order for Latitude and Longitude coordinates. #141

@nitink25

Description

@nitink25

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions