AIS-Decoding

From wiki.opennauticalchart.org
Jump to: navigation, search

This paper focuses on NON Position-Report (1,2,3,18,19) / Static-Data (5/24) messages.

AIS-Decoders

Ais Decoder

missing

  • no 6/200/3
  • no 8/200/25
  • no 8/200/26
  • no 8/265/1

gpsdecode

{"class":"AIS","device":"stdin","type":8,"repeat":0,"mmsi":215349000,"scaled":true,"dac":1,"fid":27,"linkage":90,"sender":0,"rtype":5,"rtype_text":"Ship route plan","start":"00-00T24:60Z","duration":262143,"waypoints":[{"lon":7.107972,"lat":62.844255},{"lon":7.112132,"lat":62.848032}]}
{"class":"AIS","device":"stdin","type":8,"repeat":0,"mmsi":215349000,"scaled":true,"dac":1,"fid":29,"linkage":90,"text":"LESSREMMAN - ELNES (VIA RORVIK; OUTSIDE) CAPT YURI"}
{"class":"AIS","device":"stdin","type":8,"repeat":0,"mmsi":369493715,"scaled":true,"dac":366,"fid":56,"data":"256:a83746ce99bb9edbd3eebb88bb7dcecba01df41d94f9397136c0c97eb4af8d69"}
{"class":"AIS","device":"stdin","type":8,"repeat":0,"mmsi":369493715,"scaled":true,"dac":366,"fid":57,"data":"512:bf68e50cc47b8ae14771ed1a0c075bfb60f82bb9ffec80211e4aad32b4edac38b33a6b4280f403d0dff4069a452f9cd51dfc44285226e53d7f337377f15829d6"}
{"class":"AIS","device":"stdin","type":27,"repeat":0,"mmsi":368429323,"scaled":true,"status":"Not defined","accuracy":true,"lon":-81.0,"lat":29.2,"speed":0,"course":511,"raim":true,"gnss":false}

missing/problems

{"class":"AIS","device":"stdin","type":8,"repeat":0,"mmsi":257303700,"scaled":true,"dac":200,"fid":10,"vin":"00000000","length":114,"beam":36,"shiptype":8450,"shiptype_text":"Illegal ship type value.","hazard":5,"hazard_text":"Unknown","draught":150,"loaded":0,"loaded_text":"N/A (default)","speed_q":false,"course_q":false,"heading_q":false}

  • no 8/316/1
  • no 8/316/2
  • no 8/316/32
  • no 8/265/1
  • no 25

Maritec online AIS decoder

missing/problems

  • no 6/1/0
  • poor Msg:8 decoding:
    • no 8/200/10
    • no 8/316/1
    • no 8/316/2
    • no 8/316/32

pyais

{"msg_type": 8, "repeat": 0, "mmsi": 257057800, "dac": 200, "fid": 10, "vin": "00000000", "length": 21.5, "beam": 6.0, "shiptype": 8440, "hazard": 5, draught": 0.0, "loaded": 0, "speed_q": false, "course_q": false, "heading_q": false}

{"msg_type": 27, "repeat": 3, "mmsi": 316054484, "accuracy": false, "raim": false, "status": 15, "lon": -79.441667, "lat": 43.633333, "speed": 0.0, "course": 511.0, "gnss": false}

missing/problems

  • no 6/1/0
  • poor Msg:8 decoding (only DAC:200 FI:10)
{"msg_type": 8, "repeat": 0, "mmsi": 215349000, "dac": 1, "fid": 27, "data": "FwFAGPP//3ggjnij9kTwQREIR+t9QIGPWI/RpYEAV0kfnN4B/oNCP0lbA/56ZH7oMAfMqQkAPXgPnOUSBujgIEAnJCF1QEOc0Uhdt0CLKQCQxYXBGjYZIXqkAkLbgkK4VwS3FHSHEE4JngLpEMz8"}
{"msg_type": 8, "repeat": 0, "mmsi": 215349000, "dac": 1, "fid": 29, "data": "FwUw4VOC2BYVIQEyChYkGAdIlCnI"}
  • no 25

others

aisdecode

AIS-catcher

Papers

History of ASM catalogues

NMEA Examples

Samples are taken from AIS-Sources

Message type 1 (out of scope)

Message type 2 (out of scope)

Message type 3 (out of scope)

Message type 4

Message type 5 (out of scope)

Message type 6

DAC:0

DAC:1

DAC:3

  • 6/3/34: !AIVDM,1,1,,A,6h2E:p<jK8cR0>80@00000000000,0*27

DAC:200

DAC:232

  • 6/232/1: !BSVDM,1,1,,A,63MA?QD0SJP@>P5m;C45qdG?H@,4*0B
  • 6/232/1: !AIVDM,1,1,,A,63P:`4l0SJP@>P7g6PGIGSjPJ0,4*4E
    • Used by Port of London Authority (PLA) {Not decoded}

DAC:235

DAC:316

DAC:373

  • 6/373/3: !AIVDM,1,1,,B,6h2E3M@rFUmJGD<0@00000000000,0*0B
    • MID=Panama

DAC:440

  • 6/440/40 !AIVDM,1,1,,A,603l90P0u2@8KRPh<=m8ADQcf@:e9N@PwP0wP008000080000000,0*75
  • 6/440/51: !AIVDM,1,1,,,6>lEM>h00000KS?e5GCe7rJVA40OvnTs2Ql01t01t001`0000001p0,4*3c
  • 6/440/51: !AIVDM,1,1,,,6>lEM<l00000KS?e5GC=7rJVA3LP1UTs2wH21o01s000H0000003h0,4*55
    • MID=Korea

DAC:988

  • 6/988/0: !AIVDM,1,1,,B,6>l00900??VQuh001?bA8=jo001;@0001@,4*40

DAC:990

  • 6/990/38 !AIVDM,1,1,,A,6>l4vWh0??VQurKe1?au8=jp1hU@@00010,4*1D
  • 6/990/38 !AIVDM,1,1,,A,6>l4v`P0??VQurKe1?b88=jnv@59P0001h,4*7C
  • 6/990/40 !AIVDM,1,1,,B,6>l4vVhgchP5urSe1?ad`0I<Ea`1BBWA,0*48

Message type 7

Message type 8

DAC:1

DAC:103

  • 8/103/56: !AIVDM,1,1,,,8000000Iv?JmFqtQ<6WvDdm4HwwhalETq?2Gq:wQ03,4*55

DAC:200

DAC:242

  • 8/242/0: !AIVDM,1,1,,A,802DD;ltP2j2f;m0DnNgE<GM2`2Ib:Dt4Wr:`L@?Jv3d?Obc@wub,0*76
    • MID=Morocco

DAC:265

DAC:316

DAC:366

DAC:367

DAC:755

  • 8/755/43: !AIVDM,1,1,,B,8i2r`;Btrpk:58a34`8,1*38
    • MID=Paraguay

Message type 9

Message type 10

Message type 11

Message type 12

Message type 13

Message type 14

Message type 15

Message type 16

Message type 17

Message type 18 (out of scope)

Message type 19 (out of scope)

Message type 20

  • https://www.e-navigation.nl/content/data-link-management-message
  • !AIVDM,1,1,,,D01tMD@FLNfr<`f017@O6D8PN00,2*1A
  • !AIVDM,1,1,,,D05J8jP?TN?`fpNfp0,4*6E
  • !AIVDM,1,1,,,D030osj<TvfqsINfqt1N9ItaN96,2*21
  • !AIVDM,1,1,,,D030ow03Hg6D>e?6DF8g6D0,2*19
  • !AIVDM,1,1,,A,D7OertARHNfp00O6EPlNfqmtO6D,2*05
  • !AIVDM,1,1,,,D02Q:dQRpNfp00N000,4*7F
  • !AIVDM,1,1,,,D01vI7iGtS6EHpS6EI<S6D0,2*2E

Message type 21

  • https://www.e-navigation.nl/content/aids-navigation-report
  • !AIVDM,1,1,,,E>jN6L<Sc;pP000000000000000@7ctH>fwT000003iP10,4*09
  • !AIVDM,1,1,,,ENjNi4pV7ab@294V64W3h84`2P0@=3n;?R3t@00003vN10,4*61
  • !AIVDM,1,1,,,ENjAaDG2d:9@9ba@Fh24`bRh22hOmq?2:OvK@<7hGkP>2S1EPCU1KChr<JAh,0*6A
  • !AIVDM,1,1,,,ENjOsr0tg@6a9Qh;2W4QRP000000L;g4<wpI000000N010,4*68
  • !AIVDM,1,1,,,ENk`snv`5@@@@@@@@@@@@@@@@@@=Hbqv;fPcH00003vP000,2*48
  • !AIVDM,1,1,,,E>nlfRNQRW:97h=3h0W:2`:Ra:7erKB:n6Veh00003W010,4*77 !AIVDM,2,2,6,,jPPPB38nnsvA4so@Soi@02U:jPPP<<F<nsUvTr?DT?0@00,2*4C
  • !AIVDM,1,1,,B,ENk`sE<Hph@@@@@@@@@@@@@@@@@=7UIQ8889h00003vP000,2*36
  • !AIVDM,1,1,,A,E>lt;w9QRc11W00000000000000Dten:n39q@00003vP10,4*43
  • !AIVDM,1,1,,,ENj7=GrPV0R=40gQ0W5PP000000A0@2w<HI=000003v000,4*35
  • !AIVDM,1,1,,,ENj7=IaWR0ah;0a70hI00000000104rL<Fe0000003v000,4*31
  • !AIVDM,1,1,,,ENj7=IIWR0ah;0a70hHP00000000wu3N<Fqth00003v000,4*34
  • !AIVDM,1,1,,,ENj7=JqWR0ah2VTW2P0000000000wo`V<=kUP00003v000,4*3E

Message type 22

Message type 23

Message type 24 (out of scope)

Message type 25

  • https://www.e-navigation.nl/content/single-slot-binary-message
  • !AIVDM,1,1,,,I8LgAM@00000k=6DDLil`0O5;K02,0*30
  • !AIVDM,1,1,,,I8Lg9gh00000k=6DDLifD0O4JF02,0*19
  • !AIVDM,1,1,,,I8LgAM@00000k=6DNLila0O5;I02,0*39
  • !AIVDM,1,1,,B,I5Hfm`iWdrBeAk4,1*6A
  • !AIVDM,2,1,3,A,I`1ifG20UrcNTFE?UgLeo@Dk:o6G4hhI8;?vW2?El>Deju@c3Si451FJd9WPU<>B,0*04 !AIVDM,2,2,3,A,gML6TO918o:?6uoOFu3k@=vE,3*41

Message type 26

Message type 27