Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
C++ decoder for Automatic Identification System for tracking ships and decoding maritime information
branch: master

BuildNmeaLookup -> AisBitset (#53 and working towards #18), switch C …

…arrays to std::array, struct -> class, constructor initializers, msg 26 decode fixes, linting
latest commit e450c9ed3c
Kurt Schwehr authored
Failed to load latest commit information.
ais Do not convert nav status to a string; keep it a number (#59).
bin msgpack encoding support
docs Update mid.csv to reflect ITU changes (#27).
test BuildNmeaLookup -> AisBitset (#53 and working towards #18), switch C …
utils Added a script to collect one message of each type from a stream, to …
.gitignore Moved C extension to _ais and added a gpsd compatibility layer writte…
AUTHOR.txt Switch license to Apache 2.0. Version 0.14
CMakeLists.txt add 8 1 26 cpp file
ChangeLog.html Switch license to Apache 2.0. Version 0.14
LICENSE Cleanup license file
MANIFEST.in Switch license to Apache 2.0. Version 0.14
Makefile-custom Enable c++11 compilation for g++ for using auto and lambdas in schweh…
README.org Update README.org
TODO.org factor out header initialization of mmsi, repeat and mmsi, plus more …
VERSION Switch license to Apache 2.0. Version 0.14
ais.cpp BuildNmeaLookup -> AisBitset (#53 and working towards #18), switch C …
ais.h BuildNmeaLookup -> AisBitset (#53 and working towards #18), switch C …
ais10.cpp BuildNmeaLookup -> AisBitset (#53 and working towards #18), switch C …
ais12.cpp BuildNmeaLookup -> AisBitset (#53 and working towards #18), switch C …
ais14.cpp BuildNmeaLookup -> AisBitset (#53 and working towards #18), switch C …
ais15.cpp BuildNmeaLookup -> AisBitset (#53 and working towards #18), switch C …
ais16.cpp BuildNmeaLookup -> AisBitset (#53 and working towards #18), switch C …
ais17.cpp BuildNmeaLookup -> AisBitset (#53 and working towards #18), switch C …
ais18.cpp BuildNmeaLookup -> AisBitset (#53 and working towards #18), switch C …
ais19.cpp BuildNmeaLookup -> AisBitset (#53 and working towards #18), switch C …
ais1_2_3.cpp BuildNmeaLookup -> AisBitset (#53 and working towards #18), switch C …
ais1_2_3_unittest.cpp more towards google style guide. remove redundant asserts
ais20.cpp BuildNmeaLookup -> AisBitset (#53 and working towards #18), switch C …
ais21.cpp BuildNmeaLookup -> AisBitset (#53 and working towards #18), switch C …
ais22.cpp BuildNmeaLookup -> AisBitset (#53 and working towards #18), switch C …
ais23.cpp BuildNmeaLookup -> AisBitset (#53 and working towards #18), switch C …
ais24.cpp BuildNmeaLookup -> AisBitset (#53 and working towards #18), switch C …
ais25.cpp BuildNmeaLookup -> AisBitset (#53 and working towards #18), switch C …
ais26.cpp BuildNmeaLookup -> AisBitset (#53 and working towards #18), switch C …
ais27.cpp BuildNmeaLookup -> AisBitset (#53 and working towards #18), switch C …
ais4_11.cpp BuildNmeaLookup -> AisBitset (#53 and working towards #18), switch C …
ais5.cpp BuildNmeaLookup -> AisBitset (#53 and working towards #18), switch C …
ais6.cpp BuildNmeaLookup -> AisBitset (#53 and working towards #18), switch C …
ais7_13.cpp BuildNmeaLookup -> AisBitset (#53 and working towards #18), switch C …
ais8.cpp BuildNmeaLookup -> AisBitset (#53 and working towards #18), switch C …
ais8_001_22.cpp BuildNmeaLookup -> AisBitset (#53 and working towards #18), switch C …
ais8_001_22.h BuildNmeaLookup -> AisBitset (#53 and working towards #18), switch C …
ais8_001_22_unittest.cpp more towards google style guide. remove redundant asserts
ais8_001_26.cpp BuildNmeaLookup -> AisBitset (#53 and working towards #18), switch C …
ais8_366_22.cpp BuildNmeaLookup -> AisBitset (#53 and working towards #18), switch C …
ais9.cpp BuildNmeaLookup -> AisBitset (#53 and working towards #18), switch C …
ais_decode_normed.cpp more towards google style guide. remove redundant asserts
ais_lut.py cleanup white space
ais_py.cpp BuildNmeaLookup -> AisBitset (#53 and working towards #18), switch C …
create.sql Fixed getType so that it is now a const method
maritime_id_codes.py cleanup white space
nagios_pg_ais.py Switch license to Apache 2.0. Version 0.14
nais2pg.py Switch license to Apache 2.0. Version 0.14
send_data.py threaded\! Now ready for testing on heavier weight machine
setup.py Add -std=c++11 for Linux and Mac python module building. Lint setup.py
test.aivdm a lot closer to a compete test set
test_libais.cpp BuildNmeaLookup -> AisBitset (#53 and working towards #18), switch C …

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)
import ais
import ais.compatibility.gpsd
ais.compatibility.gpsd.mangle(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.