How to calculate the 3D straight line distance between 2 GPS measurements?

  • Thread starter aydos
  • Start date
  • #1
14
1

Main Question or Discussion Point

This seems like a trivial question at first, but I am struggling how to get it right. If I have 2 GPS (lat, lon, height) observations P1 and P2 taken at some height from the earth's surface, how do I calculate the straight line distance between them? I am using the picture below to illustrate the question and get into more detail.
I understand GPS devices provide heights in reference to the WGS84 ellipsoid and perpendicular to the ellipsoid's surface (lines labelled "gps h"). I also understand latitude and longitude are angles originating at the WGS84 ellipsoid centre.
Are my assumptions ok? Can anyone out there can explain how to calculate the distance between P1 and P2?

1578901922807.png
 

Attachments

Answers and Replies

  • #2
7,969
4,652
This sounds like homework, is it?
 

Related Threads for: How to calculate the 3D straight line distance between 2 GPS measurements?

  • Last Post
Replies
6
Views
2K
Replies
7
Views
8K
Top