Skip to content

Ship positions using AIS data in Norway

Notifications You must be signed in to change notification settings

mixedbreed/spartid-ais

 
 

Repository files navigation

Simple AIS example with data from Kystverket

Norwegian Kystverket publish AIS data for ship positions that can be used under NLOD license. This application stores the positions received and present current situation and history in a Map using Leaflet.

Technology

This demo is made using Python with Flask for the web server part, Leaflet/HTML for the presentation and SQLite for the database. AIS position data is read from a TCP connection continously using Python library pyais . The position updates are stored in a SQLite database using two tables: LastPositionReport and HistoricPosition. In addition a mapping table from mmsi to IMO data are imported into ImoVesselCodes table.

Example

Map

About

Ship positions using AIS data in Norway

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 55.1%
  • Jupyter Notebook 30.9%
  • HTML 13.0%
  • Other 1.0%