Bug 503917 - Writing GPS data into photo's Metadata does not work.
Summary: Writing GPS data into photo's Metadata does not work.
Status: RESOLVED NOT A BUG
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Gps (other bugs)
Version First Reported In: 8.6.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-08 10:25 UTC by micha_berger
Modified: 2025-05-08 11:14 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description micha_berger 2025-05-08 10:25:47 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY
Writing GPS data into photo's Metadata does not work.

STEPS TO REPRODUCE
1. Using "Tools > Edit Geolocation" to set geo location of a picture. Closing the tool after clicking "Apply".
2. "Item > Write Metadata to File"
3. "Item > Reread Metadata From File". 

OBSERVED RESULT
1) After writing Metadata to File Longitude entry is missing in EXIF Data in "ExifTool"
2) Geodata icon of image is deleted.

EXPECTED RESULT
1) All Geodata should appear in "ExifTool"
2) Geodata should remain in picture after reading it from the file again as it should have been written before into the file's Metadata.

ASSUMPTION
digiKam does not succeed to write the Geo data correctly into the file's EXIF Metadata.

SOFTWARE/OS VERSIONS
Windows: 10 Version 22H2
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.1

ADDITIONAL INFORMATION
All operations had been done on a Windows laptop in an admin user account. The files storage folder was initially a NAS shared folder. However, the same behaviour was confirmed using the local folders on the laptop.

IMPORTANCE
Without the ability to write Geolocation into the files EXIF data, that information will be lost when
- sharing images with others
- migrating to new devises
- using other image viewing applications.
etc
Comment 1 Maik Qualmann 2025-05-08 10:29:56 UTC
Is the writing of geolocation information enabled in the digiKam settings under metadata?

Maik
Comment 3 micha_berger 2025-05-08 11:12:36 UTC
Thanks @ Maik Qualmann. That's the solution. I was not aware of that setting (was the only one besides face tags that was unchecked).