[Gpsd-dev] Re: [Xastir] SiRF GPRMC bug? and GPGGA format
Gerry Creager N5JXS
gerry.creager at tamu.edu
Wed May 18 09:36:12 EDT 2005
On that, the standard is clear: [D]DDMM.mmm[m[m]],H (where H is hemisphere).
Derrick J Brashear wrote:
> 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.
>
> _______________________________________________
> Xastir mailing list
> Xastir at xastir.org
> https://lists.xastir.org/mailman/listinfo/xastir
--
Gerry Creager -- gerry.creager at tamu.edu
Texas Mesonet -- AATLT, Texas A&M University
Cell: 979.229.5301 Office: 979.458.4020 FAX: 979.847.8578
Page: 979.228.0173
Office: 903A Eller Bldg, TAMU, College Station, TX 77843
More information about the Xastir
mailing list