Re: [Gpsbabel-misc] NMEA to GPX conversion omits RMC sentences?
Brought to you by:
robertl
From: Robert L. <rob...@gp...> - 2010-05-13 22:22:18
|
On Sun, May 2, 2010 at 2:38 PM, Vidar Gundersen <vib...@gm...<vibrog%2Bg...@gm...> > wrote: > I've set up a GPS unit logging RMC at 1 sec, GGA at 5 sec, GSA at 60 sec. > That's odd. > The following produces a file where RMC samples are dropped after the > first GGA sample: > > gpsbabel -t -i nmea -f nmea.txt -o gpx -F temp.gpx > > Forcing gpsbabel to ignore GGA gives a file with RMC samples: > > gpsbabel -t -i nmea,gprmc=1,gpgga=0 -f nmea.txt -o gpx -F temp.gpx > > However, GSA sentence data are included at the appropriate samples. > > > Is this behaviour a bug? > No, but it's not obvious, either. From the source: * An input file may have both GGA and GLL and RMC sentences for the exact * same position fix. If we see a single GGA, start ignoring GLL's and RMC's. * GLL's will also be ignored if RMC's are found and GGA's not found. |