Closed AllNamesWereTakenIsNotAvailable closed 1 year ago
Hey @AllNamesWereTakenIsNotAvailable,
thank you bringing this up. It is also very helpful that you included an example message. So it was easy for me to reproduce your issue.
There was indeed a rounding error. I fixed it in the relevant conversion function.
I also included your example as an unit test to prevent future regressions. So I am closing this for now. Feel free to reopen if needed.
Have a great day.
Kind regards, leon
The fix is publicly available with version v2.5.1
for the example sentence: !AIVDM,1,1,,A,100u3g@0291Q1>BW6uDUwDk00LE@,0*74
decode and then encode will results in a change to lat lon
the problem line is:
Suggested resolution:
Kind Regards