The great-circle distance, orthodromic distance, or spherical distance is the shortest distance between two points on the surface of a sphere, measured along the surface of the sphere (as opposed to a straight line through the sphere's interior).
All the required calculations to find GCD for a two given latitude and longitude is written inside the great_circle_distance.py file.
the calculate methods does all the validations and calculate the GCD.
Python3.*
- Clone the repo
python main.py
- to run the test cases
python great_circle_distance.test.py