Is it possible to write result of geotaging in XMP file?

Started by richo, November 08, 2020, 06:47:29 AM

Previous topic - Next topic

richo

I would prefer if result of geotagging of my raw file are not written to raw file, but to XMP sidecar files. Is that possible? And if yes how? Thank you for your kind help.
-r-
-r-

Phil Harvey

Hi Richo,

This page explains all about the use of sidecar 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 ($).

richo

Phil, thanks,
of course I found it there :-)
Now when I have GPS coordinates I wonder how can I best update the location text information base don them. I have a python program which does that, but I wonder if I can pass gps coordinates found by exiftool -geotag into it and back into exif in variable so I can set it all gps and names in one exif run :-)
-r-

Phil Harvey

I don't know how you could do this in one run if you need to run your python program in between exiftool runs.

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

richo

@Phil, is it possible to print out the found GPS coordinates during step where  -geotag command is used to parse gps file based on DateTimeOriginal of raw files?
-r-

Phil Harvey

This isn't quite what you want, but, you can see the coordinates being written if you add -v2 to the command.

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

richo

Is there maybe some way to use them in config file  and run external command in config file? ;-) I know asking too much.
-r-

Phil Harvey

This might be possible, but it would be tricky.

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