3 ms·
I'm working on a system that transform data from Long/Lat/Alt (WGS84) to a local tangent plane (LTP) East/North/Up coordinate system. To go from WGS84 to LTP, t
by donquichotte 6y ago
I'm working on a system that transform data from Long/Lat/Alt (WGS84) to a local tangent plane (LTP) East/North/Up coordinate system. To go from WGS84 to LTP, the coordinates first need to be transformed to Earth-Centered Earth-Fixed (ECEF) coordinates and then translated and rotated.
I was quite surprised to find that while it is straightforward to go from WGS84 to ECEF with a closed form, the other way, from ECEF to WGS84, needs to be computed iteratively [1] and is not trivial to find.
[1] https://en.wikipedia.org/wiki/Geographic_coordinate_conversion#From_ECEF_to_ENU https://en.wikipedia.org/wiki/Geographic_coordinate_conversi...
- tonyarkles 6y agoQuick tip from someone else who was working on similar stuff last week: there’s a wonderful paper by Bowring from 1976 that has a one-step “iterative” version of the conversion. To verify that it worked right, I compared the output with the LLA output from my receiver and it matched to as many sigfigs as the receiver output.