[Gpsd-dev] Re: [Xastir] SiRF GPRMC bug? and GPGGA format
Derrick J Brashear
shadow at dementia.org
Tue May 17 20:27:04 EDT 2005
On Tue, 17 May 2005, Henk de Groot wrote:
> The way I parse GPS sentences in DIGI_NED is just to tokenize on the comma's
What belongs to comma that you wish to tokenize? ;-)
> and then interpret the values as a float (scanf it) - regardless of leading
> zeros and decimal percision. This should work for all different ways to
> present the degrees, zero padded on not and with 1 or 10 digits behind the
> point.
Yes, but... you still need to know whether it's DDMM.SSsss or DD.ddddd or
DDMM.mmmmm or whatever.
So presumably that has to come from the standard.
More information about the Xastir
mailing list