(distance [lat-1 lon-1] [lat-2 lon-2])
Returns the distance from point-1
to point-2
, in km using the
Haversine formula.
Returns the distance from `point-1` to `point-2`, in km using the Haversine formula.
(geo-distance* & points)
Calculate the distance for the path described as a list of geo points. Each point must a tuple of two float numbers.
Calculate the distance for the path described as a list of geo points. Each point must a tuple of two float numbers.
(to-radians x)
Converts an angle measured in degrees to an approximately equivalent angle measured in radians.
Converts an angle measured in degrees to an approximately equivalent angle measured in radians.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close