Geodesics on an ellipsoid — geographiclib 2.0 documentation (original) (raw)

Introduction

Consider an ellipsoid of revolution with equatorial radius a, polar semi-axis b, and flattening f = (ab)/a . Points on the surface of the ellipsoid are characterized by their latitude φ and longitude λ. (Note that latitude here means the_geographical latitude_, the angle between the normal to the ellipsoid and the equatorial plane).

The shortest path between two points on the ellipsoid at (φ1, λ1) and (φ2, λ2) is called the geodesic. Its length is_s_12 and the geodesic from point 1 to point 2 has forward azimuths α1 and α2 at the two end points. In this figure, we have λ12 = λ2 − λ1.

Figure from wikipedia

A geodesic can be extended indefinitely by requiring that any sufficiently small segment is a shortest path; geodesics are also the straightest curves on the surface.

Solution of geodesic problems

Traditionally two geodesic problems are considered:

Additional properties

The routines also calculate several other quantities of interest

If points 1, 2, and 3 lie on a single geodesic, then the following addition rules hold:

Multiple shortest geodesics

The shortest distance found by solving the inverse problem is (obviously) uniquely defined. However, in a few special cases there are multiple azimuths which yield the same shortest distance. Here is a catalog of those cases:

Area of a polygon

The area of a geodesic polygon can be determined by summing _S_12for successive edges of the polygon (S_12 is negated so that clockwise traversal of a polygon gives a positive area). However, if the polygon encircles a pole, the sum must be adjusted by ±_A/2, where A is the area of the full ellipsoid, with the sign chosen to place the result in (-A/2, A/2].

Background

The algorithms implemented by this package are given in Karney (2013) and are based on Bessel (1825) and Helmert (1880); the algorithm for areas is based on Danielsen (1989). These improve on the work of Vincenty (1975) in the following respects:

References