Enter one point ielat1 5 enter lon1 point 3 enter lat2 point 2 enter lon2 point 3 distancebetween the two points is 30. Double latitude1Rad DegreesToRadiansLat1. Double circumference 400000.
Double latititude2Rad DegreesToRadiansLat2.
180 180 if you want the geodesic distance on the ellipsoid then you can use st_distance. Float results new float 1. In the same latitudinal and longitudinal hemisphere. Double Lat2 30678.