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

Fix UndefVar in (::LLAfromECEF) and document ECEF->LLA conversion convention #51

Merged
merged 1 commit into from
Sep 28, 2019

Conversation

anowacki
Copy link
Contributor

@anowacki anowacki commented Sep 27, 2019

Before this fix, converting from ECEF to LLA coordinates with
points very near to the centre of the ellipsoid and with a small
value of z (e.g., (x, y, z) = (4e4, 0, 0) for WGS84) would throw
an UndefVarError. With this fix, the same LLA point is returned
as is done by GeographicLib. However, in this case multiple
solutions are present and this fix also documents the choice made.

  • Change variable name to avoid UndefVarError
  • Add test based off GeographicLib values
  • Add explanation of which of several solutions are chosen in the
    ECEF->LLA conversion to the README.md file.

@anowacki
Copy link
Contributor Author

Supercedes #49.

Before this fix, converting from ECEF to LLA coordinates with
points very near to the centre of the ellipsoid and with a small
value of z (e.g., (x, y, z) = (4e4, 0, 0) for WGS84) would throw
an UndefVarError.  With this fix, the same LLA point is returned
as is done by GeographicLib.  However, in this case multiple
solutions are present and this fix also documents the choice made.

- Change variable name to avoid UndefVarError
- Add test based off GeographicLib values
- Add explanation of which of several solutions are chosen in the
  ECEF->LLA conversion to the README.md file.
@anowacki anowacki changed the title Fix UndefVar in (::LLAfromECEF) and document LLA->ECEF conversion convention Fix UndefVar in (::LLAfromECEF) and document ECEF->LLA conversion convention Sep 27, 2019
@c42f c42f merged commit 7ec4058 into JuliaGeo:master Sep 28, 2019
@c42f
Copy link
Member

c42f commented Sep 28, 2019

Looks good to me!

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

Successfully merging this pull request may close these issues.

2 participants