Description Usage Arguments Value Examples
View source: R/utils-calculateDistance.R
Calculate geographical distance betwen two pointsin latitude and longitude in degrees
1 | calculateGeographicalDistance(lon1, lon2, lat1, lat2)
|
lon1 |
longitude of point 1 |
lon2 |
longitude o2 point 2 |
lat1 |
latitude of point 1 |
lat2 |
latitude of point 2 |
numeric; distance in meters
1 | calculateGeographicalDistance(57.60287, 57.62190, 11.66572, 11.67703)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.