ExifTool Forum

ExifTool => Newbies => Topic started by: AlanTheBeast on June 18, 2012, 07:30:14 PM

Title: Hard tagging with a specific Lat/Long
Post by: AlanTheBeast on June 18, 2012, 07:30:14 PM
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
Title: Re: Hard tagging with a specific Lat/Long
Post by: BogdanH on June 19, 2012, 01:29:14 AM
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
Title: Re: Hard tagging with a specific Lat/Long
Post by: 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
Title: Re: Hard tagging with a specific Lat/Long
Post by: BogdanH on June 19, 2012, 12:03:56 PM
Good catch Phil  :)

Bogdan
Title: Re: Hard tagging with a specific Lat/Long
Post by: AlanTheBeast on June 19, 2012, 12:37:10 PM
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.
Title: Re: Hard tagging with a specific Lat/Long
Post by: Phil Harvey on June 19, 2012, 12:48:52 PM
Alan,

Glad that worked.

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

- Phil