On Mon, Oct 18, 2010 at 2:27 PM, boris <boris@macbeth.rhoen.de> wrote:

 I'm using gpsd (2.95) with multiple gps devices attached.
 The measured data is logged in one nmea file.

Wait, you've merged two GPSes into one NMEA stream and expect GPSBabel to extract them into two different tracks?   That won't work.

 however the data gets mixed together as
 Blocks separated ??? by these _{"class"..._ statements ?

That must be your gpsd thing; it's not NMEA. 

 There is only one problem when I'm using gpsbabel to convert
 this to gpx - assuming logging with 1Hz:

 Every device is reporting one GPRMC/GPGGA line with the
 same time stamp but gpsbabel ignores lines with same time stamps
 while reading.

More accurately, it groups thing with the same timestamp together as that's how we separate groups of sentences for the same location fix. 

 This one line fix/hack solves the problem - at least in my case me.

...which is exactly what you just neutered.

If this change solves a problem for your case, great.   But it breaks it for general purpose use.



--- nmea.c-orig 2010-06-22 23:53:20.000000000 +0200
+++ nmea.c      2010-10-18 16:47:26.419976169 +0200
@@ -1031,7 +1031,7 @@

-               if (lt != last_read_time && curr_waypt && trk_head) {
+               if (curr_waypt && trk_head) {
                       if (curr_waypt != last_waypt) {
                               nmea_add_wpt(curr_waypt, trk_head);
                               last_waypt = curr_waypt;

 Perhaps a better solution would be to be able to filter each device
 out and put it in a separate track .... ?


Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
Gpsbabel-code mailing list  http://www.gpsbabel.org