Olympus TG-6 data file merging?

Started by clem, June 13, 2020, 02:43:48 AM

Previous topic - Next topic

clem

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!

StarGeek

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).

Can you make a sensor log available?
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

clanmills

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.

Phil Harvey

ExifTool supports NMEA-format log files.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

clanmills

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.