ExifTool Forum

ExifTool => Newbies => Topic started by: clem on June 13, 2020, 02:43:48 AM

Title: Olympus TG-6 data file merging?
Post by: clem on June 13, 2020, 02:43:48 AM
Olympus's TG-6 is an interesting camera that creates not only its own GPS logs (NMEA-0183) but also a 'sensor' log too... atmospheric pressure, camera bearing, temperature, accelerometer...

https://asia.olympus-imaging.com/product/compact/tg5/feature2.html

SNS Log format and additional info is here...

https://qiita.com/saladlam/items/f82fcd6babcf567c9f07 seems to provide some information about its format...

Does or will exiftool have the capability of merging the GPS logs and the sensor logs into the associated JPG or "ORF" files?

thanks as always for your help!
Title: Re: Olympus TG-6 data file merging?
Post by: StarGeek on June 13, 2020, 10:52:33 AM
Quote from: clem on June 13, 2020, 02:43:48 AM
Does or will exiftool have the capability of merging the GPS logs and the sensor logs into the associated JPG or "ORF" files?

I would guess that exiftool has the ability to geotag, since you say the track is NMEA and that is one of the supported track formats (see Geotagging with ExifTool (https://exiftool.org/geotag.html)).

Can you make a sensor log available?
Title: Re: Olympus TG-6 data file merging?
Post by: clanmills on April 19, 2023, 05:51:07 PM
I've bought a Olympus Tough TG-6.  I can use gpsbabel to convert the GPS LOG files (in NMEA-01838 format) to GPX which I believe exiftool supports.

log="123456.LOG"
gps="123456.gpx"
gpsbabel -i nmea -f $log -o gpx,gpxver=1.1 -F $gpx

Loads more information here:  https://wiki.openstreetmap.org/wiki/Converting/NMEA_to_GPX

I'm the retired maintainer of Exiv2 and use exiv2/samples/geotag.cpp for geotagging (because I wrote it).

I haven't investigated how to use the Sensor log (temperature, etc).  It looks also looks like an NMEA format file and I suspect the data can be convert into exiv2 "cmd" files.  I believe exiftool has something similar.  There is a discussion of the NMEA-0183 file:  https://en.wikipedia.org/wiki/NMEA_0183

I've now retired from Exiv2, however had you asked this question when I was active, I would have encouraged you to write a script.
Title: Re: Olympus TG-6 data file merging?
Post by: Phil Harvey on April 19, 2023, 08:52:28 PM
ExifTool supports NMEA-format log files.

- Phil
Title: Re: Olympus TG-6 data file merging?
Post by: clanmills on April 20, 2023, 01:03:30 AM
Thanks, Phil.  What a star.  You deal with everything.  I hope you're well.  All is fine with us, and looking forward to our "Golden" in 2024.