There are three scripts in this package.
navigator.py
is a gpsd client that plot current gps data (location, heading,
speed, etc.) on a world vector shoreline map. It can pan, zoom, rotate, measure
distance and heading like Goolge Earth does. Pre-defined shapes such as lines
and placemarks can also be drawed on the map.
navigation2img.py
is similar, but it exports several images in different zoom
levels and resolutions instead of draw on screen interactively. Ideal for
publish on web.
readvct00.py
is for converting the binary NOAA world vector shoreline data to
a sqlite database which use by navigator.py and navigation2img.py.
This package is released under the terms and conditions of the BSD License, a copy of which is include in the file COPYRIGHT.
-
gpsd: The gps data is read from gpsd. Tested on gpsd 3.6, but other version should also work.
-
Python: tested on python 2.7
-
Pygtk: it draws the GUI
-
Numpy: a coordinate is represented as a complex number which real portion is the longitude, image portion is the latitude. Numpy makes transforming large number of coordinates much easier. It is normally not installed by default, search and install it from the repository of your distribution, or download and install it from scipy.
-
python-sqlite: used for store shoreline
-
Download the world vector shoreline from NOAA.
-
To generate the shoreline sqlite database, run:
$ readvct00.py --input wvs1mres.b00 --output shoreline.sqlite
-
After gpsd started, run
navigator.py
ornavigation2img.py
.
[Contact me](mailto: weichen302@gmx.com)