This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] Latitude conversion, N2K to NMEA0183
#2
At the moment you can't create the correct sentence GLL.
SignalK has convert longitude and latitude to degrees. But NMEA 0183 needs the format XXYY.ZZZZ => XX°YY'(0.ZZZZ*60)"
To get the NMEA 0183 format for longitude you have to generate the number from SignalK value (UU.UUUUUU) by int(UU.UUUU) *100+ int(UU.UUUU % 1) / 60 * 100.
The NMEA 0183 Generator isn't able to do this at the moment. It also isn't able to switch from south to north or east to west.
We should think about a converter which is able to convert SI (International System of units) to special NMEA format.
Reply


Messages In This Thread
RE: Latitude conversion, N2K to NMEA0183 - by e-sailing - 2017-06-05, 06:01 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)