Fast, Dependency-Free Geodesic Distance Calculations

Dependency-free, ultra fast calculation of geodesic distances. Includes the reference nanometre-accuracy geodesic distances of Karney (2013) , 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.


News

v0.0.3

Minor changes: - bug fix in sequential calculation with cheap distances; thanks to @mem48

v0.0.2

Major changes: - Add georange function to calculate extreme ranges only; thanks to @marcosci - Add 'paired' option to 'geodist()' function to calcualte pair-wise distances between 'x' and 'y' matrices

Minor changes: - Improve handling of column names

v0.0.1

Initial CRAN release.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("geodist")

0.0.3 by Mark Padgham, 2 months ago


https://github.com/hypertidy/geodist


Report a bug at https://github.com/hypertidy/geodist/issues


Browse source code at https://github.com/cran/geodist


Authors: Mark Padgham [aut, cre] , Michael D. Sumner [aut] , Charles F.F Karney [cph] (Original author of included code for geodesic distances)


Documentation:   PDF Manual  


MIT + file LICENSE license


Suggests knitr, testthat


Imported by trip.

Suggested by dodgr, gtfsrouter.


See at CRAN