2017-06-05, 06:01 PM
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.
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.