Package: geographiclib 0.4.2.9002

Michael Sumner

geographiclib: Access to 'GeographicLib'

Bindings to the 'GeographicLib' C++ library <https://geographiclib.sourceforge.io/> for precise geodetic calculations including geodesic computations (distance, bearing, paths, intersections), map projections (UTM/UPS, Transverse Mercator, Lambert Conformal Conic, and more), grid reference systems (MGRS, Geohash, GARS, Georef), coordinate conversions (geocentric, local Cartesian), and polygon area on the WGS84 ellipsoid. All functions are fully vectorized.

Authors:Michael Sumner [cre, aut], Charles Karney [cph, aut], Mark Borgerding [cph]

geographiclib_0.4.2.9002.tar.gz
geographiclib_0.4.2.9002.zip(r-4.7)geographiclib_0.4.2.9002.zip(r-4.6)geographiclib_0.4.2.9002.zip(r-4.5)
geographiclib_0.4.2.9002.tgz(r-4.6-x86_64)geographiclib_0.4.2.9002.tgz(r-4.6-arm64)geographiclib_0.4.2.9002.tgz(r-4.5-x86_64)geographiclib_0.4.2.9002.tgz(r-4.5-arm64)
geographiclib_0.4.2.9002.tar.gz(r-4.7-arm64)geographiclib_0.4.2.9002.tar.gz(r-4.7-x86_64)geographiclib_0.4.2.9002.tar.gz(r-4.6-arm64)geographiclib_0.4.2.9002.tar.gz(r-4.6-x86_64)
geographiclib_0.4.2.9002.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
geographiclib/json (API)
NEWS

# Install 'geographiclib' in R:
install.packages('geographiclib', repos = c('https://hypertidy.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/hypertidy/geographiclib/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

cpp

7.34 score 9 stars 4 packages 10 scripts 1.0k downloads 74 exports 1 dependencies

Last updated from:dd9bac8e49. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK184
linux-devel-x86_64OK171
source / vignettesOK278
linux-release-arm64OK181
linux-release-x86_64OK190
macos-release-arm64OK143
macos-release-x86_64OK380
macos-oldrel-arm64OK184
macos-oldrel-x86_64OK231
windows-develOK226
windows-releaseOK239
windows-oldrelOK219
wasm-releaseOK194

Exports:albers_fwdalbers_revazeq_fwdazeq_revcassini_fwdcassini_revdms_combinedms_decodedms_decode_angledms_decode_azimuthdms_decode_latlondms_encodedms_splitellipsoid_circleellipsoid_curvatureellipsoid_latitudesellipsoid_latitudes_invellipsoid_paramsgars_fwdgars_revgeocentric_fwdgeocentric_revgeocoords_parsegeodesic_directgeodesic_direct_fastgeodesic_distancegeodesic_distance_fastgeodesic_distance_matrixgeodesic_distance_matrix_fastgeodesic_intersectgeodesic_intersect_allgeodesic_intersect_nextgeodesic_intersect_segmentgeodesic_inversegeodesic_inverse_fastgeodesic_linegeodesic_nngeodesic_nn_radiusgeodesic_pathgeodesic_path_fastgeohash_fwdgeohash_lengthgeohash_resolutiongeohash_revgeoref_fwdgeoref_revgnomonic_fwdgnomonic_revlcc_fwdlcc_revlocalcartesian_fwdlocalcartesian_revmgrs_fwdmgrs_revosgb_fwdosgb_gridrefosgb_gridref_revosgb_revpolarstereo_fwdpolarstereo_revpolygon_areapolygon_area_cumulativerhumb_directrhumb_distancerhumb_distance_matrixrhumb_inverserhumb_linerhumb_pathtm_exact_fwdtm_exact_revtm_fwdtm_revutmups_fwdutmups_rev

Dependencies:cpp11

Geodesic Calculations

Rendered fromgeodesics.Rmdusingknitr::rmarkdownon Jun 04 2026.

Last update: 2026-01-04
Started: 2025-12-23

Grid Reference Systems: MGRS, Geohash, GARS, and Georef

Rendered fromgrid-reference-systems.Rmdusingknitr::rmarkdownon Jun 04 2026.

Last update: 2026-01-04
Started: 2025-12-23

Introduction to geographiclib

Rendered fromgeographiclib-overview.Rmdusingknitr::rmarkdownon Jun 04 2026.

Last update: 2026-01-04
Started: 2025-12-22

Local Coordinates and the Ellipsoid

Rendered fromlocal-coordinates.Rmdusingknitr::rmarkdownon Jun 04 2026.

Last update: 2026-01-04
Started: 2025-12-23

Map Projections

Rendered fromprojections.Rmdusingknitr::rmarkdownon Jun 04 2026.

Last update: 2026-01-04
Started: 2025-12-23

Readme and manuals

Help Manual

Help pageTopics
Albers Equal Area projectionalbers_fwd albers_rev
Azimuthal Equidistant projectionazeq_fwd azeq_rev
Cassini-Soldner projectioncassini_fwd cassini_rev
Convert between degrees and DMS (degrees, minutes, seconds) representationdms_combine dms_decode dms_decode_angle dms_decode_azimuth dms_decode_latlon dms_encode dms_split
WGS84 Ellipsoid parameters and calculationsellipsoid_circle ellipsoid_curvature ellipsoid_latitudes ellipsoid_latitudes_inv ellipsoid_params
Global Area Reference System (GARS)gars_fwd gars_rev
Convert between geodetic and geocentric (ECEF) coordinatesgeocentric_fwd geocentric_rev
Parse Geographic Coordinate Stringsgeocoords_parse
Geodesic calculations on the WGS84 ellipsoidgeodesic_direct geodesic_distance geodesic_distance_matrix geodesic_inverse geodesic_line geodesic_path
Fast geodesic calculations (series approximation)geodesic_direct_fast geodesic_distance_fast geodesic_distance_matrix_fast geodesic_inverse_fast geodesic_path_fast
Geodesic intersectionsgeodesic_intersect geodesic_intersect_all geodesic_intersect_next geodesic_intersect_segment
Nearest Neighbor Search Using Geodesic Distancegeodesic_nn geodesic_nn_radius
Convert coordinates to/from Geohashgeohash_fwd geohash_length geohash_resolution geohash_rev
World Geographic Reference System (Georef)georef_fwd georef_rev
Gnomonic projectiongnomonic_fwd gnomonic_rev
Lambert Conformal Conic projectionlcc_fwd lcc_rev
Local Cartesian (ENU) coordinate systemlocalcartesian_fwd localcartesian_rev
Convert coordinates to/from Military Grid Reference System (MGRS)mgrs_fwd mgrs_rev
Ordnance Survey National Grid (Great Britain)osgb_fwd osgb_gridref osgb_gridref_rev osgb_rev
Polar Stereographic projectionpolarstereo_fwd polarstereo_rev
Compute geodesic polygon area and perimeterpolygon_area
Compute cumulative polygon area and perimeterpolygon_area_cumulative
Rhumb line (loxodrome) calculations on the WGS84 ellipsoidrhumb_direct rhumb_distance rhumb_distance_matrix rhumb_inverse rhumb_line rhumb_path
Transverse Mercator projectiontm_exact_fwd tm_exact_rev tm_fwd tm_rev
Convert coordinates to/from UTM/UPS projectionutmups_fwd utmups_rev