Skip to content
This repository

C++ decoder for Automatic Identification System for tracking ships and decoding maritime information

branch: master
Octocat-spinner-32 docs documentation May 25, 2010
Octocat-spinner-32 test remove extra print December 17, 2012
Octocat-spinner-32 .gitignore ignore the mess October 07, 2012
Octocat-spinner-32 AUTHOR.txt
Octocat-spinner-32 CMakeLists.txt add 8 1 26 cpp file October 22, 2012
Octocat-spinner-32 COPYING.LESSER switch to LGPL v3 September 06, 2010
Octocat-spinner-32 ChangeLog.html accidental paste removed November 18, 2012
Octocat-spinner-32 LICENSE.txt switch to LGPL v3 September 06, 2010
Octocat-spinner-32 MANIFEST.in include README.org November 05, 2012
Octocat-spinner-32 Makefile-custom factor out header initialization of mmsi, repeat and mmsi, plus more … November 13, 2012
Octocat-spinner-32 README.org version 0.13 November 18, 2012
Octocat-spinner-32 TODO.org factor out header initialization of mmsi, repeat and mmsi, plus more … November 13, 2012
Octocat-spinner-32 VERSION
Octocat-spinner-32 ais.cpp remove dead code November 14, 2012
Octocat-spinner-32 ais.h Cleanup error handling in msg 6 and 8 in python. Add enums for DAC an… March 24, 2014
Octocat-spinner-32 ais10.cpp closer to the google style guide November 14, 2012
Octocat-spinner-32 ais12.cpp closer to the google style guide November 14, 2012
Octocat-spinner-32 ais14.cpp closer to the google style guide November 14, 2012
Octocat-spinner-32 ais15.cpp
Octocat-spinner-32 ais16.cpp closer to the google style guide November 14, 2012
Octocat-spinner-32 ais17.cpp closer to the google style guide November 14, 2012
Octocat-spinner-32 ais18.cpp closer to the google style guide November 14, 2012
Octocat-spinner-32 ais19.cpp closer to the google style guide November 14, 2012
Octocat-spinner-32 ais1_2_3.cpp more style cleanup November 14, 2012
Octocat-spinner-32 ais1_2_3_unittest.cpp more towards google style guide. remove redundant asserts November 14, 2012
Octocat-spinner-32 ais20.cpp closer to the google style guide November 14, 2012
Octocat-spinner-32 ais21.cpp closer to the google style guide November 14, 2012
Octocat-spinner-32 ais22.cpp more style cleanup November 14, 2012
Octocat-spinner-32 ais23.cpp more style cleanup November 14, 2012
Octocat-spinner-32 ais24.cpp more cleanup. couple fi mistakes fixed November 16, 2012
Octocat-spinner-32 ais25.cpp closer to the google style guide November 14, 2012
Octocat-spinner-32 ais26.cpp more cleanup. couple fi mistakes fixed November 16, 2012
Octocat-spinner-32 ais27.cpp closer to the google style guide November 14, 2012
Octocat-spinner-32 ais4_11.cpp closer to the google style guide November 14, 2012
Octocat-spinner-32 ais5.cpp
Octocat-spinner-32 ais6.cpp more cleanup. couple fi mistakes fixed November 16, 2012
Octocat-spinner-32 ais7_13.cpp closer to the google style guide November 14, 2012
Octocat-spinner-32 ais8.cpp Handle extra spare bits in 8_1_29 November 25, 2012
Octocat-spinner-32 ais8_001_22.cpp more cleanup. couple fi mistakes fixed November 16, 2012
Octocat-spinner-32 ais8_001_22.h more towards google style guide. remove redundant asserts November 14, 2012
Octocat-spinner-32 ais8_001_22_unittest.cpp more towards google style guide. remove redundant asserts November 14, 2012
Octocat-spinner-32 ais8_001_26.cpp more cleanup. couple fi mistakes fixed November 16, 2012
Octocat-spinner-32 ais8_366_22.cpp fix num_bits range check April 10, 2014
Octocat-spinner-32 ais9.cpp closer to the google style guide November 14, 2012
Octocat-spinner-32 ais_decode_normed.cpp more towards google style guide. remove redundant asserts November 14, 2012
Octocat-spinner-32 ais_lut.py cleanup white space October 08, 2012
Octocat-spinner-32 ais_py.cpp Cleanup error handling in msg 6 and 8 in python. Add enums for DAC an… March 24, 2014
Octocat-spinner-32 create.sql Fixed getType so that it is now a const method June 03, 2011
Octocat-spinner-32 maritime_id_codes.py cleanup white space October 08, 2012
Octocat-spinner-32 nagios_pg_ais.py cleanup white space October 08, 2012
Octocat-spinner-32 nais2pg.py Set ver to 0.10. Convert FIX to TODO. Assign TODO to schwehr. Remove … October 29, 2012
Octocat-spinner-32 send_data.py threaded\! Now ready for testing on heavier weight machine May 12, 2010
Octocat-spinner-32 setup.py python decoding of ais 8 1 26 October 22, 2012
Octocat-spinner-32 test.aivdm a lot closer to a compete test set May 09, 2010
Octocat-spinner-32 test_libais.cpp closer to the google style guide November 14, 2012
README.org

Introduction

Library for decoding maritime Automatic Identification System messages.

See Also

http://en.wikipedia.org/wiki/Automatic_Identification_System

Other open source AIS projects:

Building

Building with legacy Makefile

make -f Makefile-custom test

Building with python

python setup.py build
python setup.py install

Building with CMake

cmake .
make

Usage

ipython
import ais
ais.decode('15PIIv7P00D5i9HNn2Q3G?wB0t0I', 0)
ais.decode('402u=TiuaA000r5UJ`H4`?7000S:', 0)
ais.decode('55NBjP01mtGIL@CW;SM<D60P5Ld000000000000P0`<3557l0<50@kk@K5h@00000000000', 0)

AIS Specification Documents

Hacking

The C++ code was switched to the Google style in November, 2012. Indenting should be by 2 spaces.

http://google-styleguide.googlecode.com/svn/trunk/cpplint/

Something went wrong with that request. Please try again.