weatherrouting.utils

Functions

cfbinomiale(n, i)

km2nm(d)

lossodromic(latA, lonA, latB, lonB)

maxReachDistance(p, speed[, dt])

nm2km(d)

ortodromic(latA, lonA, latB, lonB)

ortodromic2(lat1, lon1, lat2, lon2)

pathAsGeojson(path)

pointDistance(latA, lonA, latB, lonB[, unit])

Returns the distance between two geo points

reduce180(alfa)

reduce360(alfa)

routagePointDistance(latA, lonA, distance, hdg)

Returns the point from (latA, lonA) to the given (distance, hdg)