ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: prettypixel on March 26, 2018, 02:28:06 AM

Title: ExifTool for macOS - How can I enter GPS latitude & longitude?
Post by: prettypixel on March 26, 2018, 02:28:06 AM
I have recently started to use ExifTool for macOS, and have learned how to edit the datetimeoriginal exif information.

However, I have many images that I would now like to enter GPS latitude & longitude information for, and then upload to Google Photos. I would be grateful if someone could advise me on the commands necessary. For information, I know how to obtain latitude & longitude information from Google Maps. Thank you in advance.
Title: Re: ExifTool for macOS - How can I enter GPS latitude & longitude?
Post by: StarGeek on March 26, 2018, 03:38:02 AM
Exiftool -gpslatitude=12.34 -gpslatituderef=N -gpslongitude=56.78 -gpslongituderef=W

The Ref tags are very important if the coords are negative (N S or W).
Title: Re: ExifTool for macOS - How can I enter GPS latitude & longitude?
Post by: prettypixel on March 26, 2018, 06:50:27 AM
Thank you for the reply and instructions. I notice the example you gave me include very short latitude and longitude values. Mine are longer - is this OK? Please see below:

53.319629, -0.666803

Also, I don't know if the coordinates are negative or not - how can I tell? Thank you again  :)
Title: Re: ExifTool for macOS - How can I enter GPS latitude & longitude?
Post by: Phil Harvey on March 26, 2018, 07:10:27 AM
I think that FAQ 14 (https://exiftool.org/faq.html#Q14) will answer all of your questions.

- Phil
Title: Re: ExifTool for macOS - How can I enter GPS latitude & longitude?
Post by: prettypixel on March 26, 2018, 09:52:28 AM
Many thanks Phil.