Author Topic: Hard tagging with a specific Lat/Long  (Read 2207 times)

AlanTheBeast

  • Newbie
  • *
  • Posts: 2
Hard tagging with a specific Lat/Long
« 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

BogdanH

  • ExifTool Freak
  • *****
  • Posts: 757
  • ExifToolGUI Author
Re: Hard tagging with a specific Lat/Long
« Reply #1 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

Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 14438
    • ExifTool Home Page
Re: Hard tagging with a specific Lat/Long
« Reply #2 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
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

BogdanH

  • ExifTool Freak
  • *****
  • Posts: 757
  • ExifToolGUI Author
Re: Hard tagging with a specific Lat/Long
« Reply #3 on: June 19, 2012, 12:03:56 PM »
Good catch Phil  :)

Bogdan

AlanTheBeast

  • Newbie
  • *
  • Posts: 2
Re: Hard tagging with a specific Lat/Long
« Reply #4 on: June 19, 2012, 12:37:10 PM »
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

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 14438
    • ExifTool Home Page
Re: Hard tagging with a specific Lat/Long
« Reply #5 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
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).