ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: StarGeek on March 22, 2023, 03:29:09 PM

Title: Suggestion for Inverse Geotagging command
Post by: StarGeek on March 22, 2023, 03:29:09 PM
In answering a question on reddit, it hit me that the example Inverse Geotagging command (https://exiftool.org/geotag.html#Inverse) might be better written using the -w (-TextOut) option (https://exiftool.org/exiftool_pod.html#w-EXT-or-FMT--textOut)/-W (-tagOut) option (https://exiftool.org/exiftool_pod.html#W-FMT--tagOut)

One example for videos which would write an individual file for each video
exiftool -p gpx.fmt -ee3 -w %d%f.gps FILE [...]

And one for a single geo track from multiple files
exiftool -p gpx.fmt -ee3 -W+! %dout.gps FILE [...]
Title: Re: Suggestion for Inverse Geotagging command
Post by: Phil Harvey on March 22, 2023, 03:41:26 PM
Thanks for thinking about this.

The example I gave is the inverse of the ExifTool -geotag feature which tags individual images from a single track log.

Your first command is another possible use for this feature.

Your second command is another way to implement my example, but I think it is a bit harder to understand.

Given that I don't want to confuse people with multiple examples, I think it may be best left as is.

- Phil

Title: Re: Suggestion for Inverse Geotagging command
Post by: StarGeek on March 23, 2023, 10:25:59 AM
Quote from: Phil Harvey on March 22, 2023, 03:41:26 PMGiven that I don't want to confuse people with multiple examples, I think it may be best left as is.

Sounds good.  I'm adding these to my notes in case the specific situation comes up again.