Merge JSON GPS data from Google Photos to MOV files - Take #2

Started by bobross, August 28, 2019, 02:44:50 PM

Previous topic - Next topic

bobross

Version 11.68 works! Apple Photos can read. It must have been the GPS coordinate formatting. Here is my final script to add GPS Coordinates and Create Date from the Google Photos JSON.

exiftool -tagsfromfile "%d%F.json" "-Keys:GPSCoordinates#<$GeoDataLatitude $GeoDataLongitude $GeoDataAltitude" "-Keys:CreationDate<$PhotoTakenTimeTimestamp" "-QuickTime:CreateDate<$PhotoTakenTimeTimestamp" -d %s FILE

Phil Harvey

Excellent.  I'm glad this fixed things for you too.

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