
AIS messages are often transmitted via NMEA 0183. AIS is often used for collision avoidance, traffic management, and search and rescue operations. This information is transmitted via VHF radio and can be received by other ships and coastal stations, allowing them to accurately determine the location and movement of nearby vessels. 🙇 GeneralĪIS (Automatic Identification System) is a communication system that allows ships to automatically exchange information such as vessel identification, position, course, and speed. The free Jetbrains Open Source sponsorship. I also wrote a blog post about AIS decoding and this lib. You can find the full documentation on readthedocs.

I test each major release against a selection of public and non-public data sources to ensure the broadest possible compatibility. This includes tests with live feeds from Spire, the Norwegian Coastal Administration and others.

This library has been used and tested extensively in representative real-world scenarios. PR are always welcome.AIS message encoding and decoding. If you find any bug please feel free to open an issue.new Decoder(Array, safeMode) import from './lib/index' const aisMessages: Array = [ node dist/bin/parse for example: node.private validateRawMessage(input: string): boolean - validate if the raw messages.private decode(input: Array, session: any): void - decode the raw ais messages.getResults() - return a collection of the parse messages.when true the module will never throw an error (silent mode). Ais payload is represented in a 6bits encoded string.Position size: number of bits required to fill the data.Position sequence_id: Sequential message, the current message number.Position message_count: Messages counter (number of messages), sometimes the ais messages will be split over several messages.Position format: !AIVDM, identifies this as an AIVDM packet (AIS format).Ideal Node Version : 8.16.2 Tests : run npm test AIS MESSAGES When satellites are used to detect AIS signatures, the term Satellite-AIS (S-AIS) is used.ĪIS information supplements marine radar, which continues to be the primary method of collision Tracking system used on ships and by vessel traffic services (VTS). The automatic identification system (AIS) is an automatic
