---
name: "aisdecode"
section: "1"
platform: "linux"
package: "libais-tools"
version: "0.17+git.20190917.master.e464cf8-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/aisdecode"
---

# aisdecode(1)

Library for decoding maritime AIS messages

## NAME

aisdecode - Library for decoding maritime AIS messages

## SYNOPSIS

**aisdecode** \[*OPTIONS*\] *\< INFILE.nmea \> OUTFILE.json*

## DESCRIPTION

### Available opptions:

**--gpsd** Use gpsd compatible output

**--copy-tagblock-timestamp**=*False*

**--encoding**=*msgpack* Use msgpack encoding

**--encoding**=*json* Use json encoding (default)

**--keep\_nmea** Include the raw nmea as a field in the decoded output

**--verbose**

**--max\_errors**=*NUM* Terminate if error rate is \> NUM%.

**--allow\_unknown**

**--ignore\_tagblock\_station**

**--treat\_ab\_equal**

**--pass\_invalid\_checksums**

**--allow\_missing\_timestamps**

**--uscg**=*False*

**--validate\_checksum**=*False*
