Transferring GPS location does not work

Started by GabrielZ, August 12, 2016, 07:02:27 AM

Previous topic - Next topic

GabrielZ

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.

Phil Harvey

ExifTool does not have the ability to write the QuickTime GPSCoordinates (see the QuickTime tags documentation 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
...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 ($).

GabrielZ

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.

GabrielZ

What about 'GPSCoordinates' ? Would there be any way to write that tag?
Maybe this is the one that Quicktime/Photos evaluate ...

Phil Harvey

Yes, likely it is the QuickTime:GPSCoordinates tag that QuickTime/Photos use.  ExifTool can not currently write this tag.

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