Snippets tagged geocomputing; haversine formula

  • calculating the distance on earth (with units of measure)

    calculating the distance between two locations on earth using haversine formula see http://en.wikipedia.org/wiki/Haversine_formula and implementing it using the posibilities of F#'s unit of measure system to avoid unit-conversion-errors concerning radians convertet the code found here: http://www.movable-type.co.uk/scripts/latlong.html for an concrete implementation

    3 people like this

    Posted: 5 years ago by Carsten K├Ânig