-
Notifications
You must be signed in to change notification settings - Fork 8
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
Forumla for converting WGS84 alt to EGM96 alt in README is incorrect #3
Comments
@matthiaszimmermann to add on to this: We have been doing some testing of our OpenAthena Core and OpenAthena Android software which implements this library. We discovered recently that our vertical datum conversion based on the equation in the README.md was causing altitude at several ground control points to be off by exactly twice the geoid offset whenever a conversion was applied. Changing the sign (from a We can provide additional testing steps and results if desired to confirm this fix. Greatly appreciate this library of yours, it's been essential for our OpenAthena project. Hopefully this fix may allow others to benefit similarly from this library. Related to: |
More info on how we discovered this error and tested to validate our solution. First, the formula for converting between EGM96 and WGS84 is documented here: https://vdatum.noaa.gov/docs/datums.html We then took a series of WGS84 readings from an RTK GPS unit of fixed light poles in an empty parking lot. We compared their reported WGS84 altitude against Google Earth which reports in MSL. In each case, the Google reported altitude was off roughly by the EGM96 offset from the WGS84 altitude. And the formula for conversion was roughly: wgs84alt = MSLalt + N |
thanks so much for your contribution. feels like ages ago when i've done this ;) hope to find time to check/merge your pr in the near future |
@mkrupczak3 wanted me to provide a little bit more documentation as to how we validated our proposed formula fix. Attached is a drone image of a local parking lot |
Submitted a pull request.
The text was updated successfully, but these errors were encountered: