geodist: Fast, Dependency-Free Geodesic Distance Calculations

Dependency-free, ultra fast calculation of geodesic distances. Includes the reference nanometre-accuracy geodesic distances of Karney (2013) <doi:10.1007/s00190-012-0578-z>, as used by the 'sf' package, as well as Haversine and Vincenty distances. Default distance measure is the "Mapbox cheap ruler" which is generally more accurate than Haversine or Vincenty for distances out to a few hundred kilometres, and is considerably faster. The main function accepts one or two inputs in almost any generic rectangular form, and returns either matrices of pairwise distances, or vectors of sequential distances.

Version: 0.1.0
Suggests: knitr, rmarkdown, testthat
Published: 2024-05-23
DOI: 10.32614/CRAN.package.geodist
Author: Mark Padgham [aut, cre], Michael D. Sumner [aut], Charles F.F Karney [cph] (Original author of included code for geodesic distances)
Maintainer: Mark Padgham <mark.padgham at>
License: MIT + file LICENSE
NeedsCompilation: yes
Materials: NEWS
CRAN checks: geodist results


Reference manual: geodist.pdf
Vignettes: geodist


Package source: geodist_0.1.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): geodist_0.1.0.tgz, r-oldrel (arm64): geodist_0.1.0.tgz, r-release (x86_64): geodist_0.1.0.tgz, r-oldrel (x86_64): geodist_0.1.0.tgz
Old sources: geodist archive

Reverse dependencies:

Reverse imports: distanceto, gtfsrouter, GWnnegPCA, GWpcor, gwpcormapper, IRexamples, MazamaLocationUtils, MazamaTimeSeries, metro, MigConnectivity, opentripplanner, sfcentral, simodels, spotoroo, stopdetection, tidytransit, topdowntimeratio, traipse, trip, ulex, zetadiv
Reverse suggests: dodgr, IceSat2R, mixvlmc, stplanr


Please use the canonical form to link to this page.