iPhone photo export of GPS coordinates

I took a photo with iPhone 15 Pro running IOS 17.7. I synced photo to iCloud. I opened up Photos on macPro running Sonoma 14.6.1. I exported the photo as "Unmodified Original". The export contained an XMP file with GPS coordinates

<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 6.0.0">

<rdf:RDF xmlns:rdf="www.w3.***/1999/02/22-rdf-syntax-ns#“>

<rdf:Description rdf:about=""

xmlns:exif="ns.adobe.***/exif/1.0/

xmlns:photoshop="ns.adobe.***/photoshop/1.0/“>

<exif:GPSHPositioningError>4.7840887112371862</exif:GPSHPositioningError>

<exif:GPSImgDirection>63.829559363525092</exif:GPSImgDirection>

<exif:GPSAltitudeRef>0</exif:GPSAltitudeRef>

<exif:GPSAltitude>2.6828508558854627</exif:GPSAltitude>

<exif:GPSLatitudeRef>N</exif:GPSLatitudeRef>

<exif:GPSLatitude>44.646258333333336</exif:GPSLatitude>

<exif:GPSLongitudeRef>W</exif:GPSLongitudeRef>

<exif:GPSLongitude>63.569716666666665</exif:GPSLongitude>

<exif:GPSImgDirectionRef>T</exif:GPSImgDirectionRef>

<exif:GPSSpeed>0.024489466102332481</exif:GPSSpeed>

<exif:GPSSpeedRef>K</exif:GPSSpeedRef>

<exif:GPSTimeStamp>2024-09-23T15:05:51Z</exif:GPSTimeStamp>

<photoshop:DateCreated>2024-09-23T11:05:52-04:00</photoshop:DateCreated>

</rdf:Description>

</rdf:RDF>

</x:xmpmeta>


When I import this photo to Lightroom Classic 13.5.1 and view the photo in the Map module, the location is somewhere in the old Soviet Union instead opt Halifax, NS. This is because the GPS coordinates lack the "N" and "W" designation.


Is this a bug in Photos or should I be doing something else to make this work as it should?



[Edited by Moderator]

iPhone 15 Pro, iOS 17

Posted on Oct 7, 2024 6:54 AM

Reply
Question marked as Top-ranking reply

Posted on Oct 7, 2024 8:39 AM

This is an old Photos.app .xmp export error with GPS references. I have reported this to Apple a few times during the last few years.


macOS Catalina-Sequoia 10.15-15 Photos.app do not follow the standard for GPS data with its "Export IPTC as XMP" option.


Because of this flaw, western and southern references are ignored if a standard method of copying .xmp sidecar to images and movies is used so Santiago de Chile is put to the other side of the globe in Pakistan.


According to the specification, the XMP GPSLatitude/Longitude tags have the reference directions included instead of in a separate tag in the form “DDD,MM,SSk” or “DDD,MM.mmk” [A.2.4.4 GPSCoodinate, page 28].


http://www.cipa.jp/std/documents/e/DC-X010-2017.pdf


https://exiftool.org/forum/index.php?topic=12634.msg68327#msg68327


GraphicConverter and exiftool can workaround that flaw. Or better yet, you can fix the .xmp with this exiftool command:


exiftool -P -overwrite_original -ext xmp -XMP-exif:All= -tagsFromFile @ -XMP-exif:All '-XMP-exif:GPSLongitude<${XMP-exif:GPSLongitude#}${XMP-exif:GPSLongitudeRef#}' '-XMP-exif:GPSLatitude<${XMP-exif:GPSLatitude#}${XMP-exif:GPSLatitudeRef#}' .

Similar questions

5 replies
Question marked as Top-ranking reply

Oct 7, 2024 8:39 AM in response to ffernino

This is an old Photos.app .xmp export error with GPS references. I have reported this to Apple a few times during the last few years.


macOS Catalina-Sequoia 10.15-15 Photos.app do not follow the standard for GPS data with its "Export IPTC as XMP" option.


Because of this flaw, western and southern references are ignored if a standard method of copying .xmp sidecar to images and movies is used so Santiago de Chile is put to the other side of the globe in Pakistan.


According to the specification, the XMP GPSLatitude/Longitude tags have the reference directions included instead of in a separate tag in the form “DDD,MM,SSk” or “DDD,MM.mmk” [A.2.4.4 GPSCoodinate, page 28].


http://www.cipa.jp/std/documents/e/DC-X010-2017.pdf


https://exiftool.org/forum/index.php?topic=12634.msg68327#msg68327


GraphicConverter and exiftool can workaround that flaw. Or better yet, you can fix the .xmp with this exiftool command:


exiftool -P -overwrite_original -ext xmp -XMP-exif:All= -tagsFromFile @ -XMP-exif:All '-XMP-exif:GPSLongitude<${XMP-exif:GPSLongitude#}${XMP-exif:GPSLongitudeRef#}' '-XMP-exif:GPSLatitude<${XMP-exif:GPSLatitude#}${XMP-exif:GPSLatitudeRef#}' .

Oct 7, 2024 7:37 AM in response to ffernino

For comparison, when synced though iCloud Photos, and exported as original or edited, my iPhone iOS 18.0 GPS stuff looks like this:


GPS Altitude : 221.5 m Above Sea Level

GPS Date/Time : 2024:09:27 16:28:23Z

GPS Latitude : 33 deg 1' 57.24" N

GPS Longitude : 96 deg 45' 43.59" W

Circle Of Confusion : 0.005 mm

Field Of View : 69.4 deg

Focal Length : 4.2 mm (35 mm equivalent: 26.0 mm)

GPS Position : 33 deg 1' 57.24" N, 96 deg 45' 43.59" W

Hyperfocal Distance : 2.27 m

Light Value : 15.1

Lens ID : iPhone 12 Pro back triple camera 4.2mm f/1.6



Hemispheres seem intact…

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

iPhone photo export of GPS coordinates

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.