By Ed Williams
Compute true course and distance between points.
Enter lat/lon of points, select distance units and earth model and click “compute”. Lat/lons may be entered in DD.DD, DD:MM.MM or DD:MM:SS.SS formats.
Note that if either point is very close to a pole, the course may be inaccurate, because of its extreme sensitivity to position and inevitable rounding error.
Copyright 1997 Ed Williams. All rights reserved. Used with permission
Original: http://edwilliams.org/gccalc.htm
Original code date 13/01/2021
// Code from: https://www.nhc.noaa.gov/gccalc.shtml // Original code date 13/01/2021