Bug 418658 - GPS data not exported on metadata export to sidecar files
Summary: GPS data not exported on metadata export to sidecar files
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Gps (show other bugs)
Version: 6.4.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-09 10:25 UTC by Heiner Markert
Modified: 2022-01-07 05:22 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.0.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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