ExifTool Forum

ExifTool => Newbies => Topic started by: richo on November 08, 2020, 06:47:29 AM

Title: Is it possible to write result of geotaging in XMP file?
Post by: richo on November 08, 2020, 06:47:29 AM
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-
Title: Re: Is it possible to write result of geotaging in XMP file?
Post by: Phil Harvey on November 08, 2020, 06:52:31 AM
Hi Richo,

This page (https://exiftool.org/metafiles.html) explains all about the use of sidecar files.

- Phil
Title: Re: Is it possible to write result of geotaging in XMP file?
Post by: richo on November 08, 2020, 10:49:38 AM
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 :-)
Title: Re: Is it possible to write result of geotaging in XMP file?
Post by: Phil Harvey on November 08, 2020, 12:20:57 PM
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
Title: Re: Is it possible to write result of geotaging in XMP file?
Post by: richo on November 09, 2020, 07:20:51 AM
@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?
Title: Re: Is it possible to write result of geotaging in XMP file?
Post by: Phil Harvey on November 09, 2020, 11:45:33 AM
This isn't quite what you want, but, you can see the coordinates being written if you add -v2 to the command.

- Phil
Title: Re: Is it possible to write result of geotaging in XMP file?
Post by: richo on November 09, 2020, 11:55:09 AM
Is there maybe some way to use them in config file  and run external command in config file? ;-) I know asking too much.
Title: Re: Is it possible to write result of geotaging in XMP file?
Post by: Phil Harvey on November 09, 2020, 03:50:01 PM
This might be possible, but it would be tricky.

- Phil