SUMMARY *** locations metadata not written to IPTC or XMP after reverse geocoding *** STEPS TO REPRODUCE I performed reverse geocoding and activated "write locations as tags" and "write locations metadata". Yet Country Code, Country Name, City, sub Location etc. are missing from the IPTC and XMP metadata, only the keywords are written into the metadata of the photo. This used to work in Digikam 8.1 but is broken in 8.2. OBSERVED RESULT Country Code, Country Name, City, sub Location etc. are MISSING from the IPTC and XMP metadata, only the keywords are written into the metadata of the photo EXPECTED RESULT Country Code, Country Name, City, sub Location etc. are written into the IPTC and XMP metadata SOFTWARE/OS VERSIONS Linux/KDE Plasma: Debian stable (Bookworm) (available in About System) KDE Plasma Version: 5.x KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION This feature was functional in 8.1
Just tested again, no problems, location metadata is written in IPTC and XMP. Please provide a debug log from the terminal as described here of the process. https://www.digikam.org/contribute/ Maik
no this definitely does not work, I just tested this on Windows too and it's the exact same behavior. The keywords are there, but country code, city name etc are missing!!! I am going to try that debug log, but it should not be necessary, I don't think it will be useful I am going to test on Arch too, but I am sure it will be the same.
We have changed the default setting in the reverse geolocation tool, open the options and see whether location metadata is actually activated. Maik
(In reply to Maik Qualmann from comment #3) > We have changed the default setting in the reverse geolocation tool, open > the options and see whether location metadata is actually activated. > > Maik yes of course write locations metadata is activated, in the right bottom corner, under more options, do you mean that? This is the same in 8.1
Created attachment 164330 [details] no location metadata in iptc/xmp
Created attachment 164331 [details] location metadata in iptc/xmp ok with digikam 8.1
Yes, I mean that option. I did further tests here, no problems, all location metadata is written. What image type are you using? If sidecar, what settings? Maik
Is the option to write metadata templates activated in the metadata settings? Maik
(In reply to Maik Qualmann from comment #7) > Yes, I mean that option. I did further tests here, no problems, all location > metadata is written. What image type are you using? If sidecar, what > settings? > > Maik I am using JPEG and PNG. Btw, just tested 8.3, same behavior. I also added two screenshots, but it takes long to download the debug-appimage here.
(In reply to Maik Qualmann from comment #8) > Is the option to write metadata templates activated in the metadata settings? > > Maik yes, it is activated
The Debug AppImage is not needed, simply activate internal debugging in the digiKam settings under Miscellaneous->System and restart. Post debug messages from the terminal. Maik
Created attachment 164333 [details] missing location metadata/reverse geocoding terminal output
(In reply to Maik Qualmann from comment #8) > Is the option to write metadata templates activated in the metadata settings? > > Maik well turns out it wasn't activated afterall, thanks for the help