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