Quantcast

NMEA to GPX - result = empty gpx

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

NMEA to GPX - result = empty gpx

kaefert
I've used the search, and found this:
http://gpsbabel.2324879.n4.nabble.com/NMEA-to-GPX-not-working-td4128.html

But by browsing my NMEA-log I can defenitly see positions here:

...
$GPGGA,000048.6,4816.257039,N,01609.629304,E,1,05,2.3,455.8,M,0,M,,*75
$GPVTG,nan,T,,M,0.0,N,0.0,K,A*42
$GPRMC,000048.6,A,4816.257039,N,01609.629304,E,0.0,,281208,,,A*4E
...

I've got gpsbabel from my default system repos -> Linux Mint 14 = Ubuntu 12.10
Package Version of gpsbabel & gpsbabel-gui = 1.4.3-1ubuntu1

$ gpsbabel -V
GPSBabel Version 1.4.3

This is the output that the gpsbabelfe gui gave me:

gpsbabel -w -t -i nmea,gprmc=0,gpgga=0,gpvtg=0,gpgsa=0,get_posn=0,append_positioning=0,gisteq=0 -f /path/file.bin -o gpx,suppresswhite=0,logpoint=0,humminbirdextensions=0,garminextensions=0 -F /path/file.gpx

Translation successful

Here's an example of my NMEA log files:
http://pastebin.com/xmET8hED

This is the resulting gpx file:
<?xml version="1.0" encoding="UTF-8"?>
<gpx
  version="1.0"
  creator="GPSBabel - http://www.gpsbabel.org"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns="http://www.topografix.com/GPX/1/0"
  xsi:schemaLocation="http://www.topografix.com/GPX/1/0 http://www.topografix.com/GPX/1/0/gpx.xsd">
<time>2013-04-26T06:26:01Z</time>
</gpx>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: NMEA to GPX - result = empty gpx

Robert Lipe-4
Turning off all the options (all the xxx=0) certainly handicaps our ability to read the files.  Don't specify those unless you need to force it to ignore sentences.

$ ./gpsbabel -i nmea -f /tmp/xx -o gpx -F - | head -25
<?xml version="1.0" encoding="UTF-8"?>
<gpx 
  version="1.0" 
  creator="GPSBabel - http://www.gpsbabel.org
  <time>2013-04-26T17:46:17Z</time>
  <bounds minlat="48.270950650" minlon="16.160488400" maxlat="48.270950650" maxlon="16.160488400"/>
  <trk>
    <trkseg>
      <trkpt lat="48.270950650" lon="16.160488400">
<ele>455.800000</ele>
        <time>2008-12-28T00:00:48.600Z</time>
        <course>nan</course>
        <speed>0.000000</speed>
        <url></url>
        <fix>3d</fix>
        <sat>5</sat>
        <hdop>2.300000</hdop>
        <vdop>2.600000</vdop>
        <pdop>3.400000</pdop>
      </trkpt>
      <trkpt lat="48.270950650" lon="16.160488400">
<ele>455.800000</ele>


BTW, 1.4.4 is the current version.


On Fri, Apr 26, 2013 at 1:56 AM, kaefert <[hidden email]> wrote:
I've used the search, and found this:
http://gpsbabel.2324879.n4.nabble.com/NMEA-to-GPX-not-working-td4128.html

But by browsing my NMEA-log I can defenitly see positions here:

...
$GPGGA,000048.6,4816.257039,N,01609.629304,E,1,05,2.3,455.8,M,0,M,,*75
$GPVTG,nan,T,,M,0.0,N,0.0,K,A*42
$GPRMC,000048.6,A,4816.257039,N,01609.629304,E,0.0,,281208,,,A*4E
...

I've got gpsbabel from my default system repos -> Linux Mint 14 = Ubuntu
12.10
Package Version of gpsbabel & gpsbabel-gui = 1.4.3-1ubuntu1

$ gpsbabel -V
GPSBabel Version 1.4.3

This is the output that the gpsbabelfe gui gave me:

gpsbabel -w -t -i
nmea,gprmc=0,gpgga=0,gpvtg=0,gpgsa=0,get_posn=0,append_positioning=0,gisteq=0
-f /path/file.bin -o
gpx,suppresswhite=0,logpoint=0,humminbirdextensions=0,garminextensions=0 -F
/path/file.gpx

Translation successful

Here's an example of my NMEA log files:
http://pastebin.com/xmET8hED

This is the resulting gpx file:
<?xml version="1.0" encoding="UTF-8"?>
<gpx
  version="1.0"
  creator="GPSBabel - http://www.gpsbabel.org"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns="http://www.topografix.com/GPX/1/0"
  xsi:schemaLocation="http://www.topografix.com/GPX/1/0
http://www.topografix.com/GPX/1/0/gpx.xsd">
<time>2013-04-26T06:26:01Z</time>
</gpx>



--
View this message in context: http://gpsbabel.2324879.n4.nabble.com/NMEA-to-GPX-result-empty-gpx-tp10180.html
Sent from the GPSBabel - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
[hidden email]
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc


------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
[hidden email]
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: NMEA to GPX - result = empty gpx

kaefert
Thanks for this quick and accurate response!!
I've now used gpsbabel directly via the command line, without all those extra options that gpsbabelfe produced automagically.

So with this:
gpsbabel -w -t -i nmea -f /path/file.bin -o gpx -F /path/file.gpx

I can produce the gpx files that I wanted.

Maybe this gui wrapper "gpsbabelfe" should be modified in a way that it does not use those options by default.

Thanks again for the great support, and thanks to all the developers for creating this wonderful tool!
Loading...