Tue 24 Mar 2015 03:35:33 PM UTC, original submission:
gpsdecode produces an invalid latitude value for the following NMEA, while libais does not. So which value is correct? The NMEA was found in the wild... I've submitted this to the libais bug tracker in addition to here as there is no guarantee that the libais value is correct either (maybe the message itself is malformed?):
!AIVDM,1,1,1,A,A;wUJKU>io;WlWuwH`W1PpnuN<isf;5iHtOM1S6q?vsvNrNGOqLcr5mfD6t,2*51,d-127,S1378,t024436.00,T36.76385108,r09SCHA1,1272422678
aisdecode
{"repeat": 0, "spare2": 18, "mmsi": "804870766", "lon": 134.44833374023438, "scaled": true, "lat": -44.6966667175293, "spare": 1, "device": "stdin", "type": 17, "class": "AIS"}
gpsdecode:
{"class":"AIS","device":"stdin","type":17,"repeat":0,"mmsi":804870766,"scaled":true,"lon":134.4,"lat":173.8,"data":"272:7f7f6289c1838dbd78cc7bb8b17163c7dd0631b93feefe7ba7977f972be85d6e506f"}
Libais issue: https://github.com/schwehr/libais/issues/67
|