ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: GabrielZ on August 12, 2016, 07:02:27 AM

Title: Transferring GPS location does not work
Post by: GabrielZ on August 12, 2016, 07:02:27 AM
I would like to transfer the GPSCoordinates and/or the GPSPosition from one movie file to another one (on my Mac).
So I execute this:
% exiftool-5.24 -tagsFromFile IMG_7441.MOV -GPSCoordinates IMG_7441.m4v
Warning: Sorry, gpscoordinates is not writable - IMG_7441.MOV
Warning: No writable tags set from IMG_7441.MOV
    0 image files updated
    1 image files unchanged
% /opt/local/bin/exiftool-5.24 -tagsFromFile IMG_7441.MOV -GPSPosition IMG_7441.m4v
Warning: Sorry, gpsposition is not writable - IMG_7441.MOV
Warning: No writable tags set from IMG_7441.MOV
    0 image files updated
    1 image files unchanged


Any ideas what I can do?
(I am using version 10.25 of exiftools.)

Any hints will be appreciated.
Title: Re: Transferring GPS location does not work
Post by: Phil Harvey on August 12, 2016, 08:02:41 AM
ExifTool does not have the ability to write the QuickTime GPSCoordinates (see the QuickTime tags documentation (https://exiftool.org/TagNames/QuickTime.html) for a complete list indicating which tags are writable).  The best you could do is to write the XMP:GPSLatitude and XMP:GPSLongitude, which you can do like this:

exiftool -tagsfromfile SRCFILE -gpslatitude -gpslongitude DSTFILE

- Phil
Title: Re: Transferring GPS location does not work
Post by: GabrielZ on August 12, 2016, 09:39:28 AM
Thanks a million for your quick response!

Problem is, that it seems that those fields are not evaluated by Quicktime or the Photos app.

I have these fields in DSTFILE:
GPSLatitude                     : 38 deg 42' 57.24" N
GPSLongitude                    : 9 deg 8' 24.36" W

but neither Quicktime Player nor Photos app show any location info when I open DSTFILE with those apps.
Title: Re: Transferring GPS location does not work
Post by: GabrielZ on August 12, 2016, 01:18:56 PM
What about 'GPSCoordinates' ? Would there be any way to write that tag?
Maybe this is the one that Quicktime/Photos evaluate ...
Title: Re: Transferring GPS location does not work
Post by: Phil Harvey on August 12, 2016, 02:26:48 PM
Yes, likely it is the QuickTime:GPSCoordinates tag that QuickTime/Photos use.  ExifTool can not currently write this tag.

- Phil