geocalc-1.0.0: Libary for calculating distances between two coordinates in WSG84

Numeric.Geocalc

Synopsis

Documentation

getDistance :: (Double, Double) -> (Double, Double) -> Maybe DoubleSource

getDistance takes two Coordinates in WSG84 and checks if they are valid. If they are it calculets the distance between them in kilometres