14 include
'geodesic.inc'
17 parameter(maxpts = 10000)
18 double precision a, f, lats(maxpts), lons(maxpts), s, p
27 if (n .ge. maxpts)
go to 20
28 read(*, *,
end=20, err=20) lats(n+1), lons(n+1)
32 call area(a, f, lats, lons, n, s, p)
34 30
format(i6, 1x, f20.8, 1x, f20.3)
program planimeter
A simple program to compute the area of a geodesic polygon.