The Cartopy python library can draw coastlines and maps in matplotlib, so it's a good basis for plotting a heads-up display of things like telemetry.
My system has GEOS and PROJ, which I believe are required. The "Installing Cartopy" page has tips on how to install these in various environments.
I have these versions:
$ geos-config --version
3.6.2
$ proj
Rel. 4.9.3, 15 August 2016
usage: proj [ -bCeEfiIlormsStTvVwW [args] ] [ +opts[=arg] ] [ files ]
-
Create a python virtual environment. I'm using Python 3.6.9 (64-bit).
-
Install most of the requirements:
$ pip install -r requirements.txt
-
Install Cartopy:
$ pip install -r requirements_cartopy.txt
(Cartopy requires that Numpy already be installed, so installing Cartopy is a separate step.)
-
Install this package:
$ pip install -e .
The
-e
flag tells pip to reference these files rather than copying them, so that changes will be reflected without having to reinstall this package.
$ cartopy_hud --tracks 2