How to encode Vessel data (position, course, speed & ect.) with AIS (Automatic Information System) AIVDM/AIVDO sentence.
Encoding ship data with AIS
5.4k Views Asked by useris At
3
There are 3 best solutions below
0

did you try ais2csv ? It works well with NMEA sentences https://github.com/dma-ais/AisLib/tree/master/ais-lib-cli/launch4j/ais2csv
0

You can find a php version for encoding at my repo here - phpais
It should be pretty straight forward to understand the code if you understand how AIS strings are composed
This is a very vague question it depends on which AIS message you want to send? (See the second link for the different msg.)
As you might see, it is a rather complexed task, but basically you have to do what is done here it-digin.com in reversed order. But there are several different message types, you can read more about the standard here United States Coast Guard