Description Usage Arguments Value
Compute the geodesic distance between two coordinate locations
1 | get.geo.dist(long1, lat1, long2, lat2, units = "m")
|
long1 |
Numerical argument – the longitude of the first coordinate location |
lat1 |
Numerical argument – the latitude of the first coordinate location |
long2 |
Numerical argument – the longitude of the second coordinate location |
lat2 |
Numerical argument – the latitude of the second coordinate location |
units |
The geodesic distance will be computed in terms of these units – Defaults to km |
Returns the geodesic distance between two coordinate locations
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.