Hard tagging with a specific Lat/Long

Started by AlanTheBeast, June 18, 2012, 07:30:14 PM

Previous topic - Next topic

AlanTheBeast

Hi,

I use exiftool regularly to tag using a log file from my GPS.  Fine.

But, I want to tag a set of files with one specific lat/long.  No GPS file was recorded.

I tried: exiftool -GPSLatitude=45.555555 -GPSLongitude=-73.44444444 *.dng
(position is an example in dd.dddddd format.

It runs without error, indicating "x image files updated".

But when I look at the EXIF in photoshop there's no Lat/Long at all.

When I upload the file to Panoramio it does not see a position in the image either.

How to I resolve this?  I searched the documentation and online but there's nothing to simply jam the Lat/Long into an image.

Thanks,
Alan

BogdanH

Hi Alan,

Your command seem to be ok. You can check for what's been actually written by:
exiftool -Gps:All Filename.dng
-the result won't be shown in decimal format, but that doesn't matter.

Bogdan

Phil Harvey

Hi Alan,

You need to also write GPSLatitudeRef and GPSLongitudeRef for other applications to have enough information to determine the position.

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

BogdanH


AlanTheBeast

Quote from: Phil Harvey on June 19, 2012, 08:02:55 AM
Hi Alan,

You need to also write GPSLatitudeRef and GPSLongitudeRef for other applications to have enough information to determine the position.

- Phil

Thanks Phil - that did it.  I assumed the sign on the value would be enough but I guess exiftool is about tagging, not about interpreting.  Alan.

Phil Harvey

Alan,

Glad that worked.

Yes, you must be very specific about what you want ExifTool to write.

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