Photoshop: Photoshop changes structure of latitude and longitude stored in EXIF

  • 1
  • Problem
  • Updated 3 weeks ago
  • (Edited)

This conversation has been merged. Please reference the main conversation: Camera Raw: GPS location changes after editing

I am using a Photoshop script which reads GPS exif data from jpeg file and put it into text layer. Photoshop presents GPS information in: dd.dd (eg. 53.00 15.00' 30.19''). This is quite strange format, there is no point to show decimal part of degrees and minutes so I've splited original string and take only first 2 numbers of degree and minutes into text layer. New format of above coordinates is: 53d15'30.19". And here is the problem: This method usually works only with a jpeg file which is opened in Photoshop for the first time. When the jpeg file is closed - even without saving any changes on the exit, the format is changed. GPS lat/lon are stored as 3 64-bit rational values and for some reason PS moves seconds part of coordinates to minutes section, so now the same coordinates looks like that: 53.00 15.50' 00.00". 30.19" is moved to minutes section and now is presented as 15.50'. The fraction part of seconds is lost.  This operation reduces precision from 0.3m (0.01 part of second is equal to approx. 0.3m on the ground) to 18.5m (0.01 part of minute). My GPS unit records position with cm accuracy and I need to present accurate value on the image.
Photo of Tomasz Szabon

Tomasz Szabon

  • 2 Posts
  • 0 Reply Likes

Posted 3 weeks ago

  • 1

There are no replies.

This conversation is no longer open for comments or replies.