All,(adsbygoogle = window.adsbygoogle || []).push({});

I am trying to determine the length of line across 3 dimensions (XYZ). My X&Y are WGS 84 coordinates and my Z value is HAE (Height Above Ellipsoid) in meters.

I can determine the XY length on a plane, but how do I account for the additional length added by a change in Height?

Example

50,50,50 -- 60,60,50 -- 60,60,40, -- 70,70,40 -- 70,70,50 In this case you can see I can 10 meters in length between coordinate triplets 2 & 3 as well as between 4 & 5 even though they share the same XY values

Does anyone have any thoughts on how to efficiently calculate this information?

Thanks,

**Physics Forums | Science Articles, Homework Help, Discussion**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Length of a line in 3 dimensions

Can you offer guidance or do you also need help?

Draft saved
Draft deleted

**Physics Forums | Science Articles, Homework Help, Discussion**