haversine
haversine(lat1, lon1, lat2, lon2)
Calculaire the great-circle distance between two points on Earth
Syntaxe
haversine(lat1=48.90720, lon1=2.24030, lat2=50.84499, lon2=4.34999)
Arguments
| Name | Required | Default | Description |
|---|---|---|---|
lat1 | yes | - | Latitude of the first point |
lon1 | yes | - | Longitude of the first point |
lat2 | yes | - | Latitude of the second point |
lon2 | yes | - | Longitude of the second point |