https://bugs.kde.org/show_bug.cgi?id=450982
Bug ID: 450982
Summary: digiKam 7.4.0 writes unsupported
XMP-exif:GPSLatitudeRef, XMP-exif:GPSLongitudeRef
metadata to JPEG
Product: digikam
Version: unspecified
Platform: Flatpak
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Metadata-Gps
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
When writing geo location metadata to JPEGs, digiKam also writes attributes:
XMP-exif:GPSLatitudeRef
XMP-exif:GPSLongitudeRef
Phil Harvey's documentation does not list these tags on
https://exiftool.org/TagNames/XMP.html and vanilla ExifTool (without custom
configuration, that is) refuses to operate on these:
[scratch]$ exiftool -XMP-exif:GPSLatitudeRef= -XMP-exif:GPSLongitudeRef=
wpg2dk-test-with-digikam-metadata.jpg
Warning: Sorry, XMP-exif:GPSLatitudeRef doesn't exist or isn't writable
Warning: Sorry, XMP-exif:GPSLongitudeRef doesn't exist or isn't writable
Nothing to do.
I'm not an expert, but above two facts let me think that digiKam should not
write these attributes. After all, the reference is already specifed as N/S,
W/E suffix on GPSLatitude and GPSLongitude. (Note that the *GPSAltitudeRef*
seems to be OK, though.)
Also, here is an ExifTool forum thread where the pictures of a guy from Texas
ended up in China, supposedly due to this bug:
https://exiftool.org/forum/index.php?topic=7087.0.
STEPS TO REPRODUCE
1. Configure digiKam to write Geolocation information to metadata
2. Select image with GPS coordinates and select Item -> Write Metadata to File
3. On the updated JPEG execute
exiftool -j -G1 -struct <updated-jpeg> | egrep -i 'xmp-exif:gps.*ref'
OBSERVED RESULT
"XMP-exif:GPSAltitudeRef": "Above Sea Level",
"XMP-exif:GPSLatitudeRef": "S",
"XMP-exif:GPSLongitudeRef": "W",
EXPECTED RESULT
"XMP-exif:GPSAltitudeRef": "Above Sea Level",
SOFTWARE/OS VERSIONS
digiKam 7.4.0 Flatpak
Build date: 19 Dec 2021 09:38:10 (target: RelWithDebInfo)
KDE Frameworks
Version 5.89.0
Qt
Version 5.15.3 (built against 5.15.3)
The wayland windowing system
--
You are receiving this mail because:
You are watching all bug changes.