Is it possible to display and then copy decimal degree 'Keys:GPSCoordinates' from a movie and paste it as is to another movie?
In my workflow I now must insert commas in between the pasted coordinates:
exiftool -a -G1 -s -n '-*GPS*' .
======== ./2570-0621-1200-00.m4v
[Keys] GPSCoordinates : 29.9792 31.1342 146.6
exiftool -Keys:GPSCoordinates='29.9792 31.1342 146.6' .
Warning: Error converting value for Keys:GPSCoordinates (PrintConvInv)
Nothing to do.
exiftool -Keys:GPSCoordinates='29.9792, 31.1342, 146.6' .
1 directories scanned
1 image files updated
Additionally I'd prefer commas in the pasted coordinates so I don't have to change them to periods. Is that possible?
exiftool -Keys:GPSCoordinates='29,9792, 31,1342, 146,6' .
Warning: Error converting value for Keys:GPSCoordinates (PrintConvInv)
Nothing to do.
- Matti
Use the -n (--printConv) option (https://exiftool.org/exiftool_pod.html#n---printConv) or # version
C:\>exiftool -all= -P -overwrite_original -Keys:GPSCoordinates#="29.9792 31.1342 146.6" Y:\!temp\Test1.mp4
1 image files updated
C:\>exiftool -G1 -a -s -GPSCoordinates -GPSCoordinates# Y:\!temp\Test1.mp4
[Keys] GPSCoordinates : 29 deg 58' 45.12" N, 31 deg 8' 3.12" E, 146.6 m Above Sea Level
[Keys] GPSCoordinates : 29.9792 31.1342 146.6
Quote from: StarGeek on July 10, 2022, 12:15:09 PM
Use the -n (--printConv) option (https://exiftool.org/exiftool_pod.html#n---printConv) or # version
Thanks for the speedy reply!
exiftool -n -Keys:GPSCoordinates='29.9792 31.1342 146.6' .
1 directories scanned
1 image files updated
exiftool -Keys:GPSCoordinates#='29.9792 31.1342 146.6' .
1 directories scanned
1 image files updated
Also commas work:
exiftool -n -Keys:GPSCoordinates='29,9792 31,1342 146,6' .
1 directories scanned
1 image files updated
exiftool -Keys:GPSCoordinates#='29,9792 31,1342 146,6' .
1 directories scanned
1 image files updated
- Matti