This is for all who may want to decode an AIS String but never knew how to do.
For all who don’t know what is AIS.. try this link
http://en.wikipedia.org/wiki/Automatic_ … ion_System
this code is tested for type 1 messages and further development has been stalled. I had just coded it in my free time on ship. It is scripted in PHP. but you may adapt for c++ or VB.
You can download the file here -> aisphpdecode (rename the file after downloading)