macOS
brew install geographicliblocal Homebrew formula metadata
sudo port install geographiclibMacPorts ports tree · gis/geographiclib/Portfile · source: api.github.com
brew
C++ geography library. Version 2.7 via Homebrew; verified from local package data.
install
brew install geographicliblocal Homebrew formula metadata
sudo port install geographiclibMacPorts ports tree · gis/geographiclib/Portfile · source: api.github.com
sudo apt install geographiclib-docDebian stable package indexes · geographiclib-doc · source: deb.debian.org
sudo dnf install GeographicLibFedora Rawhide package metadata · GeographicLib · source: dl.fedoraproject.org
nix profile install nixpkgs#geographiclibnixpkgs package indexes · pkgs/by-name/ge/geographiclib/package.nix · source: api.github.com
overview
C++ geography library
history
GeographicLib is a family of geodesy libraries descended from Charles Karney's C++ library, which began in 2008. The C++ library provides geodesic and rhumb-line calculations, coordinate conversions, gravity and geomagnetic field calculations, triaxial-ellipsoid computations, command-line utilities, and high-accuracy algorithms intended to return results near round-off error.
The project began as a C++ library, then grew because its geodesic routines were useful enough to port to several other languages. Before version 2.0, those implementations lived together in one repository; after version 2.0 they were split into a family of repositories, leaving the C++ repository as the broadest implementation.
The documentation describes GeographicLib as project-hosted on SourceForge, with repositories on GitHub and package distributions maintained through SourceForge. The C++ repository also documents separate release and development branches, a pattern useful to downstream packagers who need stable tagged releases.
GeographicLib's geodesic routines spread beyond the C++ package into C, Fortran, Python, Octave/MATLAB, Java, and JavaScript implementations. The C library is incorporated into PROJ and the R geosphere package, and official notes list downstream availability in Linux distributions, conda-forge, vcpkg, and Homebrew.
Practitioners use GeographicLib when accuracy matters for ellipsoidal geodesics, UTM/UPS/MGRS conversion, geocentric and local Cartesian conversion, geoid height evaluation, gravity models, magnetic models, polygon perimeter and area, and rhumb-line calculations. The package exposes this work through C++ APIs and many small utilities such as `GeodSolve`, `GeoConvert`, `GeoidEval`, `Gravity`, and `MagneticField`.
For package-manager users, GeographicLib is a compact but foundational geodesy dependency: it provides command-line tools, data installers, and stable library APIs used by mapping, GIS, surveying, navigation, and scientific software. The split between code packages and optional datasets makes it a classic packaging case where binaries and data files are handled separately.
security posture
library-like package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
Cart3Convert | cli | global executable | |
CartConvert | cli | global executable | |
Conformal3Proj | cli | global executable | |
ConicProj | cli | global executable | |
GeoConvert | cli | global executable | |
Geod3Solve | cli | global executable | |
GeodSolve | cli | global executable | |
GeodesicProj | cli | global executable | |
GeoidEval | cli | global executable | |
Gravity | cli | global executable | |
IntersectTool | cli | global executable | |
MagneticField | cli | global executable | |
Planimeter | cli | global executable | |
RhumbSolve | cli | global executable | |
TransverseMercatorProj | cli | global executable | |
geographiclib-get-geoids | cli | global executable | |
geographiclib-get-gravity | cli | global executable | |
geographiclib-get-magnetic | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/geographiclib/geographiclib
install metadata
| Package key | brew:geographiclib |
|---|---|
| Version | 2.7 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/geographiclib |
| Homepage | https://geographiclib.sourceforge.io/ |
| Repository | https://github.com/geographiclib/geographiclib |
| Upstream docs | https://geographiclib.sourceforge.io/ |
| License | MIT |
| Source archive | https://github.com/geographiclib/geographiclib/archive/refs/tags/r2.7.tar.gz |
| Build dependencies | cmake |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | geographiclib |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
geographiclib-doc 2.5-1
C++ library to solve some geodesic problems -- documentation
https://geographiclib.sourceforge.io/
sudo apt install geographiclib-docgeographiclib-tools 2.5-1
C++ library to solve some geodesic problems -- tools
https://geographiclib.sourceforge.io/
sudo apt install geographiclib-toolslibgeographiclib-dev 2.5-1
C++ library to solve some geodesic problems -- development files
https://geographiclib.sourceforge.io/
sudo apt install libgeographiclib-devlibgeographiclib26 2.5-1
C++ library to solve some geodesic problems -- library
https://geographiclib.sourceforge.io/
sudo apt install libgeographiclib26geographiclib
nix profile install nixpkgs#geographiclibgeographiclib-doc 2.3-1build1
C++ library to solve some geodesic problems -- documentation
https://geographiclib.sourceforge.io/
sudo apt install geographiclib-docgeographiclib-tools 2.3-1build1
C++ library to solve some geodesic problems -- tools
https://geographiclib.sourceforge.io/
sudo apt install geographiclib-toolslibgeographiclib-dev 2.3-1build1
C++ library to solve some geodesic problems -- development files
https://geographiclib.sourceforge.io/
sudo apt install libgeographiclib-devlibgeographiclib26 2.3-1build1
C++ library to solve some geodesic problems -- library
https://geographiclib.sourceforge.io/
sudo apt install libgeographiclib26GeographicLib 2.7-3.fc44
Library for geographic coordinate transformations
https://github.com/geographiclib/geographiclib
sudo dnf install GeographicLibGeographicLib-devel 2.7-3.fc44
Development files and libraries for GeographicLib
https://github.com/geographiclib/geographiclib
sudo dnf install GeographicLib-develGeographicLib-doc 2.7-3.fc44
Development documentation for GeographicLib
https://github.com/geographiclib/geographiclib
sudo dnf install GeographicLib-docmingw32-GeographicLib 2.7-3.fc44
MinGW Windows GeographicLib library
https://github.com/geographiclib/geographiclib
sudo dnf install mingw32-GeographicLibmingw64-GeographicLib 2.7-3.fc44
MinGW Windows GeographicLib library
https://github.com/geographiclib/geographiclib
sudo dnf install mingw64-GeographicLibgeographiclib
sudo port install geographiclibgravity
sudo port install gravitysource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.