JMU
Great Circle Distances
for a Spherical Planet


Prof. David Bernstein
James Madison University

Computer Science Department
bernstdh@jmu.edu


Definitions
From Longitude/Latitude to Cartesian Coordinates

Notation

longitude-latitude-to-cartesian
From Longitude/Latitude to Cartesian Coordinates (cont.)
Finding the Great Circle Distance

The great circle distance is the portion of the circumference described by \(\alpha\).

great-circle-distance
Going Further: Finding the Angle from the Longitude and Latitude