Dirk Stichling | 31 May 18:31 2012

Problem with NMEA file from Canon GP-E2

Hi.

I have a NMEA file created by a Canon GP-E2 GPS logger:
http://www.mytracks4mac.com/tmp/canon.log

I tried to convert it to a GPX file using gpsbabel but no track points have been converted. I am not that
familiar with NMEA and wasn't able to identify the reason.

Can anybody help?

Thanks,
Dirk

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Thorben Thuermer | 1 Jun 01:02 2012

Re: Problem with NMEA file from Canon GP-E2

On Thu, 31 May 2012 18:31:27 +0200 Dirk Stichling <mytracks4mac <at> me.com> wrote:
> I have a NMEA file created by a Canon GP-E2 GPS logger:
> http://www.mytracks4mac.com/tmp/canon.log
> 
> I tried to convert it to a GPX file using gpsbabel but no track points
> have been converted.
> I am not that familiar with NMEA and wasn't able to identify the reason.
> 
> Can anybody help?

no expert here, but as nobody else answered - i just tried, and found:
all data in the file is ignored, apparently because your gps indicates it
does not have a fix (yet).
see: http://aprs.gids.nl/nmea/#gga

if i edit your file to put a "1" in the empty spot after ,E,:
$GPGGA,053231.858,5000.7781,N,00820.6831,E,,04,1.6,91.0,M,,,,0000*0C
=>
$GPGGA,053231.858,5000.7781,N,00820.6831,E,1,04,1.6,91.0,M,,,,0000*0C

gpsbabel will generate output for that entry:

$ gpsbabel -i nmea -f canon.log -o gpx -F /dev/stdout 
<gpx
[...]
<trkpt lat="50.012968333" lon="8.344718333">
  <time>2012-05-24T14:40:28Z</time>
[...]

> Thanks,
(Continue reading)

Tom Paton | 1 Jun 01:29 2012
Picon

Re: Problem with NMEA file from Canon GP-E2

Hi,

Two possible options (sorry, I can't test on your file from here):

1) Add the gps fix data in with the track filter:
  gpsbabel -i nmea canon.log -x track,fix=3d -o gpx -F -

2) Convert waypoints to a track:
 gpsbabel -i nmea canon.log -x transform,trk=wpt,del -o gpx -F -

Hope that helps.

Tom

On Fri, Jun 1, 2012 at 9:02 AM, Thorben Thuermer <r00t <at> constancy.org> wrote:
> On Thu, 31 May 2012 18:31:27 +0200 Dirk Stichling <mytracks4mac <at> me.com> wrote:
>> I have a NMEA file created by a Canon GP-E2 GPS logger:
>> http://www.mytracks4mac.com/tmp/canon.log
>>
>> I tried to convert it to a GPX file using gpsbabel but no track points
>> have been converted.
>> I am not that familiar with NMEA and wasn't able to identify the reason.
>>
>> Can anybody help?
>
> no expert here, but as nobody else answered - i just tried, and found:
> all data in the file is ignored, apparently because your gps indicates it
> does not have a fix (yet).
> see: http://aprs.gids.nl/nmea/#gga
>
(Continue reading)


Gmane