Description Usage Arguments Value Examples
Calculates the separation distance between two geopoints considering the earth curvature.
1 | dt.haversine(lat_from, lon_from, lat_to, lon_to, r = 6378137)
|
lat_from |
Origin lat |
lon_from |
Origin lng |
lat_to |
final lat |
lon_to |
final lng |
r |
Default for haversine distance |
Separation in km
1 | dt.haversine(19.2313,-95.12123,18.312312,-96.23123)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.