We need to be able to calculate the distance between two (3D) GPS coordinates. It is easy to include the altitude, when available, since that is provided in meters. However, we need a function that can determine the distance between two longitude/latitude pairs, in meters.
We need to be able to calculate the distance between two (3D) GPS coordinates. It is easy to include the altitude, when available, since that is provided in meters. However, we need a function that can determine the distance between two longitude/latitude pairs, in meters.