latitude instead of longitude

Started by Alan Clifford, January 11, 2021, 10:53:17 AM

Previous topic - Next topic

Alan Clifford

I was expecting this to work

exiftool -tagsfromfile ~/photographs/originals/2019/bits2/w300_1365.mp4 '-gpslongitude<gpsposition' w300_1365_smaller.mp4

From
[Composite]     GPS Position                    : 13 deg 4' 44.73" N, 59 deg 35' 12.08" W
to
[XMP]           GPS Longitude                   : 13 deg 4' 44.73" W

It got the west but picked up the latitude instead of longitude.

Phil, if this is not as expected, I'll have to email the files as they won't attach.

Phil Harvey

Hi Alan,

FAQ 14 fully describes the formatting that ExifTool accepts for lat/lon values.

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