ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: paneves on October 04, 2016, 05:46:38 AM

Title: Importing altitude (depth) data into pictures
Post by: paneves on October 04, 2016, 05:46:38 AM
Hi all:

I have several underwater pictures takan during my dives. With my logbook software I can relate each picture with the depth on which it was taken (comparing the timestamp of each picture with the dive profile). My diving log software allows me to export a *csv file containing the name of each picture and it's depth ( in meters, format: xx.xm e.g 16.6m). I'd like to use exiftool to read this info from the *csv file and write it to the corresponding image metadata.
I'm not sure which exif tags would be appropriate, maybe Exif.GPSInfo.GPSAltitudeRef and Exif.GPSInfo.GPSAltitude. Am I right? What would be the easiest approach?

Thanks in advance.

All the best:

Pedro Neves
Title: Re: Importing altitude (depth) data into pictures
Post by: Phil Harvey on October 04, 2016, 07:42:41 AM
Hi Pedro,

Exif 2.31 to the rescue!  The new EXIF standard added a WaterDepth tag that you can use if you want.  ExifTool 10.28 and later support writing this tag, but it may be a while before other software recognizes this.  So if you want to use this with other software, maybe your GPSAltitude is a good compromise.

See FAQ 26 (https://exiftool.org/faq.html#Q26) for help importing from CSV.

- Phil
Title: Re: Importing altitude (depth) data into pictures
Post by: Alan Clifford on October 04, 2016, 02:18:48 PM
I thought about using the altitude tags but what if you are diving in a lake at 1000 metres up and 30 metres underwater?

I created my own xmp tag to record depth in my photos, UWDepth, but I suppose I'll start using the new exif tag.