-------------------------------------------------------------- this file: https://dataswamp.org/~incal/distance/README -------------------------------------------------------------- This is a distance-between-cities calculation tool. The 'distance' script is the interface, it is used like this: $ distance Tokyo Paris Tokyo -> Paris: 9706.70 km $ distance 'Easter Island' Santiago Easter Island -> Santiago: 3758.04 km The 'loc' script is what fetches the locations from Wikipedia. (Yes, both scripts must be made executable, and one needs internet access.) The distance.el is the Elisp program that does the job: it uses the geometry Haversine formula to do the calculation. This method is based on the assumption that Earth is a sphere, which of course it is, but not completely so: of course, nothing in nature is perfect in the math sense. Still, the results are so good compared to those found in books so one would think that Earth for practical purposes is pretty round! The files mentioned: -rwxr-xr-x 1 user 265 Dec 9 03:39 distance -rwxr-xr-x 1 user 250 Dec 9 03:38 loc -rw-r--r-- 1 user 1009 Dec 9 03:50 README -rw-r--r-- 1 user 1.2K Dec 9 03:46 distance.el