An Automatic Identification System Visualisation Framework
NAVIS is an open-source AIS data visualisation framework. It was created to make the visualisation of spatial-temporal AIS data easier. This framework presented was created to visualise raw AIS data as well as data generated by algorithms. This tool visualises the trajectory of AIS data and can be used to easy visualise trajectories of vessels.
AIS data is a combination of terrestrial (T-AIS) messages that are continuously collected by onshore receiving stations and satellite AIS messages (S-AIS) arriving in bursts when satellites transfer buffered data onto a ground station.
- Static map of up to three vessels
- Animation of a vessel
- Spatial distribution map
NAVIS has a Graphical user interface (GUI) to work with. NAVIS works with any database, but the code that is on GitHub makes use of PostgreSQL. One connects to a database with the following structure: MMSI (String), Longitude (float), Latitude (float), sog (float), rot (float), cog (float), trueheading (int), msgtype (int), msgsource (String), datetime (String). In PostgreSQL, the longitude and latitude should be of the type "geom".
A video of NAVIS in action can be seen here.
- Windows 10
- Ubuntu
If you are struggling to install Basemap, please make use of this YouTube tutorial
- FFMpeg
- Extract the FFmpeg to the root directory of the Python script
Alternatively one can make use of the Python pip commands:
pip install numpy
pip install pandas
pip install sqlalchemy
pip install psycopg2
pip install matplotlib
pip install tkinter
pip install geos
- Download the files as it is currently on this GitHub repository.
- Make sure that the images are in the "Ïmages" file; there should be seven images.
- There should be an empty folder called "Videos"; this is where the animation video will be saved to.
- Make sure that there is a file called "FFmpeg", were the FFmpeg files was extracted to. This folder should have the following within it: "bin", "doc", "presets, "LICENSE", "README".
- Open in your favourite Python editor and run the script from its location
- Open cmd and run it with Python