This returns the minimum spherical distance between two points or multipoints arguments on a sphere in metres. Distance 637101 arccos sin t1 sin t2 cos t1 cos t2 cos g1 g2. 144 25 295244 E.
Your program should display the distance between the points following the surface of the earth in kilometers.
180 180 if you want the geodesic distance on the ellipsoid then you can use st_distance. The equator circling the planet horizontally east-west and a vertical line called the prime meridian circling it vertically. Distance 2 R a r c t a n a 1 a where the latitude is f the longitude is denoted as l and R corresponds to Earths mean radius in kilometers 6371. How to Install GeoPy.