12 include
'geodesic.inc'
14 double precision a, f, lat1, lon1, azi1, lat2, lon2, azi2, s12,
15 + dummy1, dummy2, dummy3, dummy4, dummy5
25 read(*, *,
end=90, err=90) lat1, lon1, lat2, lon2
26 call invers(a, f, lat1, lon1, lat2, lon2,
27 + s12, azi1, azi2, omask,
28 + dummy1, dummy2, dummy3, dummy4, dummy5)
29 print 20, azi1, azi2, s12
30 20
format(1x, f20.15, 1x, f20.15, 1x, f19.10)
program geodinverse
A simple program to solve the inverse geodesic problem.