ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: dzeek on August 05, 2020, 01:58:23 PM

Title: Create GPX file from NMEA log
Post by: dzeek on August 05, 2020, 01:58:23 PM
I have NMEA log files that I need to use with a program that only accepts GPX files. Is there a way to convert the NMEA logs to GPX files with ExifTool?
Title: Re: Create GPX file from NMEA log
Post by: Phil Harvey on August 05, 2020, 05:11:00 PM
No.

- Phil
Title: Re: Create GPX file from NMEA log
Post by: osakahk2009 on August 07, 2020, 02:11:13 AM
Hi,
Have you tried the freeware gpsbabel.
Be aware that if your NMEA log is from Canon GP-E2, it may not work properly.
It is because $GPRMC and $GPGGA sequence are switched.
Title: Re: Create GPX file from NMEA log
Post by: dzeek on August 07, 2020, 04:06:45 AM
Quote from: osakahk2009 on August 07, 2020, 02:11:13 AM
Hi,
Have you tried the freeware gpsbabel.
Be aware that if your NMEA log is from Canon GP-E2, it may not work properly.
It is because $GPRMC and $GPGGA sequence are switched.

Thank you.

I have tried gpsbabel. Unfortunately, I need to use a custom style to get the GPX format needed and the gpsbabel UTC time output field format does not support milliseconds.

The NMEA logs are from Juniper Geode.
Title: Re: Create GPX file from NMEA log
Post by: Phil Harvey on August 07, 2020, 06:58:10 AM
Quote from: osakahk2009 on August 07, 2020, 02:11:13 AM
It is because $GPRMC and $GPGGA sequence are switched.

I've been working with NMEA geopositioning systems since 1994, and the one thing that has always bothered me is that the order of the sentences is not specified.  They really should have provided a "paragraph end" marker.  For RMC and GGA it is fairly easy because they both contain a timestamp, but for other sentences it can be ambiguous.

- Phil