geographiclib — geographiclib 2.1 documentation

# geographiclib

Author: Charles F. F. Karney (karney@alum.mit.edu)

Version: 2.1

Date: 2025-08-21

This package is a python implementation of the geodesic routines in GeographicLib. It allows the solution geodesic problems on an ellipsoid model of the earth.

Licensed under the MIT/X11 License; see LICENSE.txt.

Contents:

- Python package
  - Installation
  - Other links
  - Change log
- Geodesics on an ellipsoid
  - Introduction
  - Solution of geodesic problems
  - Additional properties
  - Multiple shortest geodesics
  - Area of a polygon
  - Background
  - References
- The library interface
  - The units
  - Geodesic dictionary
  - outmask and caps
  - Restrictions on the parameters
- GeographicLib API
  - geographiclib
  - geographiclib.geodesic
  - geographiclib.geodesicline
  - geographiclib.polygonarea
  - geographiclib.constants
- Examples
  - Initializing
  - Basic geodesic calculations
  - Computing waypoints
  - Measuring areas

## Indices and tables

- Index

- Module Index

- Search Page