File Exchange

image thumbnail

geographiclib

version 1.52 (117 KB) by Charles Karney
MATLAB implementations of a subset of the C++ library, GeographicLib

3.7K Downloads

Updated 20 Jun 2021

View License

GeographicLib toolbox
Version 1.52 2021-06-20
This toolbox provides native MATLAB implementations of a subset of the
C++ library, GeographicLib. Key components of this toolbox are
* Geodesics: direct, inverse, area calculations.
* Projections: transverse Mercator, polar stereographic, etc.
* Grid systems: UTM, UPS, MGRS.
* Geoid lookup: EGM84, EGM96, EGM2008 geoids supported.
* Geometric transformations: geocentric, local cartesian.
* Great ellipses: direct, inverse, area calculations.
There is some overlap between this toolbox and MATLAB's Mapping
Toolbox. However, this toolbox offers:
* better accuracy;
* treatment of oblate and prolate ellipsoids;
* guaranteed convergence for geoddistance;
* calculation of area and differential properties of geodesics;
* ellipsoidal versions of the equidistant azimuthal and gnomonic
projections.
Subsets of this package were previously released as:
Geodesics on an ellipsoid of revolution (deprecated)
Geodesic projections for an ellipsoid (withdrawn)
Great ellipses (withdrawn)
Including all of the functionality in a single toolbox allows easier
sharing of code (via a common private directory).
Extensive documentation on the C++ library is available at
https://geographiclib.sourceforge.io/1.52
Geoid lookup requires the installation of one or more geoid models.
Instructions for this are given in
https://geographiclib.sourceforge.io/1.52/geoid.html#geoidinst
A change log for this package is available at
https://geographiclib.sourceforge.io/1.52/changes.html

Cite As

Charles Karney (2021). geographiclib (https://www.mathworks.com/matlabcentral/fileexchange/50605-geographiclib), MATLAB Central File Exchange. Retrieved .

Karney, Charles F. F. “Algorithms for Geodesics.” Journal of Geodesy, vol. 87, no. 1, Springer Science and Business Media LLC, June 2012, pp. 43–55, doi:10.1007/s00190-012-0578-z.

View more styles
MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!