Problem with GPS-data in Windows

Started by Birdman, February 21, 2021, 08:35:23 AM

Previous topic - Next topic

Birdman

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
Best regards,

Martin (Birdman)

Phil Harvey

Hi Martin,

You can just drop the minutes and seconds marks (' and ").  See FAQ 14.

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

Birdman

Hi Phil,

thanks for the link, works now like intended.

Martin
Best regards,

Martin (Birdman)