Participant
August 22, 2025
Question
XMP GPS coordinates are interpreted incorrectly
- August 22, 2025
- 1 reply
- 159 views
Hi,
See attached .psd file, generated by PTGui. It contains an XMP section with the following GPS location:
<exif:GPSVersionID>2.2.0.0</exif:GPSVersionID>
<exif:GPSLatitude>51,55.8650N</exif:GPSLatitude>
<exif:GPSLongitude>4,28.2967W</exif:GPSLongitude>
Photoshop's File - Info shows this incorrectly as 51.0 and 4.0.
I think the XMP data is formatted according to spec:
GPSCoordinate
A Text value in the form “DDD,MM,SSk” or “DDD,MM.mmk”, where:
DDD is a number of degrees
MM is a number of minutes
SS is a number of seconds
mm is a fraction of minutes
k is a single character N, S, E, or W indicating a direction (north, south, east, west)
Leading zeros are not necessary for the for DDD, MM, and SS values. The DDD,MM.mmk form should be used
when any of the native EXIF component rational values has a denominator other than 1. There can be any
number of fractional digits.