Created attachment 119691 [details] Problematic image SUMMARY GPS from panoramas captured by Android phone ASUS Zenfone3 are parsed incorrectly. exiftool shows correct results: [aik@aikyoga Pictures]$ exiftool -json -GPSLatitude -GPSLatitudeRef -GPSLongitude -GPSLongitudeRef -GPSPosition nz19-3/sv/P_20190422_121420_PN.jpg [{ "SourceFile": "nz19-3/sv/P_20190422_121420_PN.jpg", "GPSLatitude": "42 deg 17' 45.98\" S", "GPSLatitudeRef": "South", "GPSLongitude": "170 deg 10' 4.46\" E", "GPSLongitudeRef": "East", "GPSPosition": "42 deg 17' 45.98\" S, 170 deg 10' 4.46\" E" }] Interestingly only North-South is screwed, East-West is not. Non-panoramic images are shown correctly. STEPS TO REPRODUCE Open attached image. Click "map" in digikam. OBSERVED RESULT A point in the Pacific ocean in the norhern hemisphere. EXPECTED RESULT New Zealand. SOFTWARE/OS VERSIONS Fedora 29 Gnome3 digikam 5.9.0
digiKam 6.2.0 and Exiv2 0.27 : GPS metadata from exif are here : File name: P_20190422_121420_PN.jpg (Standard EXIF Tags) >>> Global Positioning System <<< GPS Altitude : 737 m GPS Altitude Reference : Above sea level GPS Date Stamp : 2019:04:22 GPS Latitude : 0.0000000deg 42' 14.017" GPS Latitude Reference : South GPS Longitude : 170deg 10' 4.458" GPS Longitude Reference : East But it sound like these info are not accepted by geolocation parser... Gilles Caulier
When I upload the photo to Google Photos, its position is identical to that of digiKam. And I would already consider Google as a reference when parsing metadata. Interesting that Exiftool comes to another result. Maik
Rewriting -GPSLatitudeRef=South by exiftool fixed the problem. Weird.
digiKam 7.0.0 stable release is now published: https://www.digikam.org/news/2020-07-19-7.0.0_release_announcement/ We need a fresh feedback on this file using this version. Best Regards Gilles Caulier
Hi Aik and happy new year, Can you reproduce the problem with digiKam 7.5.0 pre-release bundle available here : https://files.kde.org/digikam/ Best regards Gilles Caulier
@aik digiKam 8.0.0 is out. This entry still valid with this release ? Best regards Gilles Caulier
Aik, What's about this file using current 8.2.0 AppImage Linux bundle ? It's reproducible ? https://files.kde.org/digikam/ Thanks in advance Gilles Caulier
@aik : any feedback here ?
Git commit 43fce0e26c6d0254007ed8a3336083b68bef1d0d by Maik Qualmann. Committed on 26/10/2025 at 19:31. Pushed by mqualmann into branch 'master'. make GPS parsing more error tolerant If the latitude for south or the longitude for west is already negative, do not invert it again. FIXED-IN: 8.9.0 M +1 -1 NEWS M +2 -2 core/libs/metadataengine/engine/metaengine_gps.cpp https://invent.kde.org/graphics/digikam/-/commit/43fce0e26c6d0254007ed8a3336083b68bef1d0d