Bug 418658

Summary: GPS data not exported on metadata export to sidecar files
Product: [Applications] digikam Reporter: Heiner Markert <mephisto>
Component: Metadata-GpsAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: metzpinguin
Priority: NOR    
Version: 6.4.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In: 7.0.0
Sentry Crash Report:

Description Heiner Markert 2020-03-09 10:25:03 UTC
SUMMARY
When exporting image metadata to sidecar files (via maintenance, or "Album/write metadata to files", and if images contain GPS coordinates, GPS information is not exported to the .xmp files.

STEPS TO REPRODUCE
1. load image to digikam
2. add GPS coordinates
3. set metadata to "xmp sidecars only"
4. delete existing .xmp files
5. export metadata form digikams database to image

OBSERVED RESULT
New .xmp file is created, but it does not contain the GPS coordinates

EXPECTED RESULT
New .xmp file is created, including GPS coordinates


SOFTWARE/OS VERSIONS
Windows: 10, v 1909
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Maik Qualmann 2020-03-09 11:32:34 UTC

*** This bug has been marked as a duplicate of bug 229010 ***
Comment 2 Maik Qualmann 2020-03-09 22:04:03 UTC
Git commit 5f58c6e079a730d68e218f0d5b8e384900db9bc0 by Maik Qualmann.
Committed on 09/03/2020 at 22:01.
Pushed by mqualmann into branch 'master'.

add metadata option to write GPS data to the image
Related: bug 229010
FIXED-IN: 7.0.0

M  +3    -1    NEWS
M  +28   -4    core/libs/fileactionmanager/metadatahub.cpp
M  +2    -1    core/libs/fileactionmanager/metadatahub.h
M  +5    -0    core/libs/metadataengine/engine/metaenginesettingscontainer.cpp
M  +1    -0    core/libs/metadataengine/engine/metaenginesettingscontainer.h
M  +11   -1    core/utilities/setup/metadata/setupmetadata.cpp

https://invent.kde.org/kde/digikam/commit/5f58c6e079a730d68e218f0d5b8e384900db9bc0