ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: Birdman on February 21, 2021, 08:35:23 AM

Title: Problem with GPS-data in Windows
Post by: Birdman on February 21, 2021, 08:35:23 AM
Hello,

I am trying to write GPS data for a specific point. The coordinates are copied from a picture taken at this specific place using the Canon Connect App. The code I am trying to use under Windows is probably not working because of the masking I used for the " and ' in the coordinates:
exiftool "-GPSVersionID=2.3.0.0" "-GPSLatitudeRef=North" "-GPSLongitudeRef=East" "-GPSStatus=Measurement Active" "-GPSAltitudeRef=Above Sea Level" -"GPSMapDatum=WGS-84" "-GPSAltitude=606.3 m Above Sea Level" "-GPSLatitude=48 deg 3%%' 32.15%%" N" "-GPSLongitude=11 deg 37%%' 16.49%%" E" "-GPSPosition=48 deg 3%%' 32.15%%" N, 11 deg 37%%' 16.49%%" E" -overwrite_original *.jpg
Title: Re: Problem with GPS-data in Windows
Post by: Phil Harvey on February 21, 2021, 08:53:58 AM
Hi Martin,

You can just drop the minutes and seconds marks (' and ").  See FAQ 14 (https://exiftool.org/faq.html#Q14).

- Phil
Title: Re: Problem with GPS-data in Windows
Post by: Birdman on February 22, 2021, 03:43:51 AM
Hi Phil,

thanks for the link, works now like intended.

Martin