TESTER

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

NameRequiredDefaultDescription
lat1yes-Latitude of the first point
lon1yes-Longitude of the first point
lat2yes-Latitude of the second point
lon2yes-Longitude of the second point