This is a Common Lisp program that can convert the coordinates of two locations between the following systems:
- Latitude/Longitude
- Universal Transverse Mercator / Universal Polar Stereographic
- Military Grid Reference System
- Maidenhead
- Open Location Code
It also shows the locations as well as the orthodrome and loxodrome between these locations on a world map.
This program is released under the GPL-3 license. See the LICENSE file for details.
The world map is in the public domain. It comes from NASA’s Earth Observatory “Blue Marble” series. See Wikimedia Commons.
The program requires the following dependencies:
Once the program and its dependencies are in paths where ASDF can see them, you can run it with:
(asdf:load-system "convert-coordinates")
(convert-coordinates:gui)
A Makefile is available to build a standalone executable for the program using SBCL.
make
./convert-coordinates