pygeodesy
Pure Python geodesy tools
Decision gist · record as of 2026-08-14
Yes. PyGeodesy is a mature, actively maintained library (Production/Stable, 331 GitHub stars, recent release) with zero known vulnerabilities, no runtime dependencies, and permissive MIT licensing. It is suitable for any project requiring geodetic calculations, coordinate conversions, or geographic geometry.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Some modules require optional dependencies: geographiclib for Karney methods, numpy and scipy for certain Geoid and Height interpolators, and external C++ utilities for specialized features.
- Installation is straightforward with no runtime dependencies—the package is a pure Python wheel.
- Maintenance is active with a recent release and ongoing repository activity.
License · maintenance · safety
MIT (permissive) — MIT license permits unrestricted use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
last release 2026-07-29 (16 days) · last repo commit 2026-08-14 · 331 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 453,932 downloads/mo, #6,571 on PyPI
Alternatives
Verify before relying
pip install pygeodesy
from pygeodesy.ellipsoidalVincenty import LatLon
point1 = LatLon(50.0, 5.0)
point2 = LatLon(50.0, 3.0)
distance = point1.distanceTo(point2)
bearing = point1.bearingTo(point2)- Whether all advertised coordinate systems (Cassini-Soldner, UPS, Web Mercator, MGRS, OSGR) are fully functional or partially implemented.
- Performance characteristics for large-scale geographic calculations or path operations on many points.
- Precision guarantees or error bounds for different earth models and calculation methods.
What it is and what it does
PyGeodesy is a comprehensive pure Python library for geodetic and geographic calculations. It implements multiple earth models—ellipsoidal (Exact, Karney, Vincenty, Nvector) and spherical (Trigonometry, Nvector)—each providing LatLon and Cartesian coordinate classes with methods to compute distances, bearings, intersections, and geometric properties. The library includes coordinate system converters (UTM, UPS, MGRS, OSGR, ECEF, Web Mercator, Cassini-Soldner), map projections (Albers, Lambert, azimuthal), path simplification algorithms (Ramer-Douglas-Peucker, Visvalingam-Whyatt, Reumann-Witkam), polygon clipping and boolean operations, height interpolation with Geoid models, and distance metrics (Fréchet, Hausdorff). Most functionality requires only Python; optional features depend on geographiclib, numpy, scipy, or external C++ utilities. Code is transcoded from JavaScript originals and C++ classes published under MIT.
Use it for
- Calculate great-circle distance and bearing between geographic coordinates for navigation or route planning.
- Convert between coordinate systems (lat/lon to UTM, MGRS, ECEF) for GIS applications or mapping workflows.
- Find intersections of geodesic or rhumb lines, or nearest points on paths for spatial analysis.
- Simplify or clip geographic paths and polygons for efficient rendering or data reduction.
- Interpolate terrain height or geoid undulation at arbitrary lat/lon points for elevation models.
- Perform triangulation or trilateration from distance measurements to locate unknown points.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
PyGeodesy is a mature, actively maintained library (Production/Stable, 331 GitHub stars, recent release) with zero known vulnerabilities, no runtime dependencies, and permissive MIT licensing. It is suitable for any project requiring geodetic calculations, coordinate conversions, or geographic geometry.
Install
pygeodesy on PyPI
Before you install
Installation is straightforward with no runtime dependencies—the package is a pure Python wheel. Maintenance is active with a recent release and ongoing repository activity.
Some modules require optional dependencies: geographiclib for Karney methods, numpy and scipy for certain Geoid and Height interpolators, and external C++ utilities for specialized features.
License in practice
MIT license permits unrestricted use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
Quickstart
pip install pygeodesy
from pygeodesy.ellipsoidalVincenty import LatLon
point1 = LatLon(50.0, 5.0)
point2 = LatLon(50.0, 3.0)
distance = point1.distanceTo(point2)
bearing = point1.bearingTo(point2)
Verify before relying
- Whether all advertised coordinate systems (Cassini-Soldner, UPS, Web Mercator, MGRS, OSGR) are fully functional or partially implemented.
- Performance characteristics for large-scale geographic calculations or path operations on many points.
- Precision guarantees or error bounds for different earth models and calculation methods.
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 16 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 453,932 / month, #6,571 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2.7Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.15Topic :: Scientific/Engineering :: GISTopic :: Software Development |
Evidence: pygeodesy-26.7.27-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “geodetic distance bearing calculations”
- pygeodesyPyGeodesy provides pure Python implementations of geodetic…
- pymap3dConverts between geographic and 3-D coordinate systems (geodetic,…
- pyprojpyproj provides a Python interface to PROJ, enabling cartographic…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also pymap3d · s2sphere · pyGeoTile · mgrs · pygeohash · geohash2 · py-geohex3 · pyproj