great_circle_distance

bandicoot.helper.maths.great_circle_distance(pt1, pt2)

Return the great-circle distance in kilometers between two points, defined by a tuple (lat, lon).

Examples

>>> brussels = (50.8503, 4.3517)
>>> paris = (48.8566, 2.3522)
>>> great_circle_distance(brussels, paris)
263.9754164080347