Calculate the distance between a point and a line segment on an ellipsoid (or WGS84 coordinates)?
- by Jochen
Hi,
I have a line segment AB between two WGS84 coordinates on the earth's surface (or, alternatively, on an ellipsoid), and need to calculate the distance between a point P and the point nearest to P that is on line segment AB. How can I do this?
Any help is greatly appreciated.
Regards,
Jochen