SUMMARY All HEIC new photos coming from Apple devices have into the metadata their proper GPS coordinates but digikam cannot handle them into its database once the image has been processed. STEPS TO REPRODUCE 1. Put your HEIC geolocated photos in digikam album 2. You can see all metadata information, even the coordinates but the information is not taken into account in digikam database. So you are not able to access to it through the Map view for geolocation. OBSERVED RESULT EXPECTED RESULT SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
Please upload a sample HEIC image with GPS information. If not public, to my email address. The sample HEIC images that I have with GPS information are displayed correctly in digiKam. It is possible that the GPS information was not recognized during the first scan because the files were locked by other programs. As a test, do a re-read of the image metadata via the item menu. Maik
Thanks Maik for (In reply to Maik Qualmann from comment #1) > Please upload a sample HEIC image with GPS information. If not public, to my > email address. > The sample HEIC images that I have with GPS information are displayed > correctly in digiKam. > > It is possible that the GPS information was not recognized during the first > scan because the files were locked by other programs. As a test, do a > re-read of the image metadata via the item menu. > > Maik Thanks Maik for your quick reply. I have followed your indication and I did a re-read of metadata susccessfully. This is interesting because, although I created a new album with photos taken out of an iphone, it seems that videos and jpgs have no problem to be read at first moment (with te correct metadata for GPS in digikam) but it seems that there is a problem only with HEICs. In fact, a refresh of the album do not fix the problem. I have to select photos an re-read metadata. What do you think? I'll keep you posted if I discover anything more. Thanks in advance Best
(In reply to Francisco Hurtado from comment #2) > Thanks Maik for (In reply to Maik Qualmann from comment #1) > > Please upload a sample HEIC image with GPS information. If not public, to my > > email address. > > The sample HEIC images that I have with GPS information are displayed > > correctly in digiKam. > > > > It is possible that the GPS information was not recognized during the first > > scan because the files were locked by other programs. As a test, do a > > re-read of the image metadata via the item menu. > > > > Maik > > Thanks Maik for your quick reply. > > I have followed your indication and I did a re-read of metadata > susccessfully. > > This is interesting because, although I created a new album with photos > taken out of an iphone, it seems that videos and jpgs have no problem to be > read at first moment (with te correct metadata for GPS in digikam) but it > seems that there is a problem only with HEICs. > > In fact, a refresh of the album do not fix the problem. I have to select > photos an re-read metadata. > > What do you think? > > I'll keep you posted if I discover anything more. > > Thanks in advance > > Best New information about this rare behaviour. As mentioned, when I re-read metadata for my apple HEIC photo, all was fine and the GPS metadata are read correctly and digikam store geolocation properly. Well, if I take that photo whose metadata was correctly re-read and stored in digikam, then make a copy of it and refresh the album again, this new copy is not read properly and the geolocation info is not shown at all. Again, if re-read metadata all fine. It seems to me that is something that does not work well in the first reading in digikam for HEIC files. Best
Well, the problem is not limited to HEIC files only, we already have an open bug report. It also affects other metadata (photo information, date, etc.). I have not yet been able to reproduce the problem on two different Windows computers, the problem is also unknown under Linux. I suspect an external influence, such as an open Explorer window or an anti-virus program. If you can reproduce it, please download DebugView from Microsoft and set the Debug environment variable as described here for Windows: https://www.digikam.org/contribute/ Try to get a log of the first scan of the HEIC files. Maik
Created attachment 141445 [details] Traces of DK with new HEIC file in album Pictures
Hi Maik, Following your instructions, I've attached some traces made for one image HEIC (IMG_4580.HEIC) that I've copied in Pictures album. Once copied the behaviour is as commented (no metadata for GPS, maybe other are not present). The second part in the traces is when I re-read the metadata of that file from Item menu (and GPS information appears in metadata). I hope was useful. I'm not an expert in software development. A guess: All my heic files were already in others albums in database for long time. Could it be related with some kind of inconsistency in database in previous releases of DK?
Francisco, I think it's more the new HEIF metadata support introduced in Exiv2 and used to populate the database which can make mess. The Exiv2 version supporting HEIF is 0.27.4: https://www.exiv2.org/whatsnew.html digiKam for Windows has only used this Exiv2 version with last 7.3.0. Best regards Gilles Caulier
(In reply to caulier.gilles from comment #7) > Francisco, > > I think it's more the new HEIF metadata support introduced in Exiv2 and used > to populate the database which can make mess. > > The Exiv2 version supporting HEIF is 0.27.4: > > https://www.exiv2.org/whatsnew.html > > digiKam for Windows has only used this Exiv2 version with last 7.3.0. > > Best regards > > Gilles Caulier Thanks Gilles for your quick answer. Do you recommend in this case go throuhg a complete re-reading for files? Otherwise, I'll wait for for a fix or workaround. Thanks in advance. Best regards, FH
There will be no fix or workaround if the cause is that you added the HEIC images before digiKam could support the metadata. Go to the search in the left sidebar, enter "heic" in the quick search at the top. All of your HEIC images should now be displayed, depending on the number, it may take a while. Select them all, select the option to reread the metadata from the item menu. There is also the maintenance tool, where you can also read the image metadata again. Maik
(In reply to Maik Qualmann from comment #9) > There will be no fix or workaround if the cause is that you added the HEIC > images before digiKam could support the metadata. > > Go to the search in the left sidebar, enter "heic" in the quick search at > the top. All of your HEIC images should now be displayed, depending on the > number, it may take a while. Select them all, select the option to reread > the metadata from the item menu. > > There is also the maintenance tool, where you can also read the image > metadata again. > > Maik Thanks Maik. I hope you found the traces useful. All the best
I close the bug because the current digiKam version reads geolocation metadata from HEIF images. Maik
(In reply to Maik Qualmann from comment #11) > I close the bug because the current digiKam version reads geolocation > metadata from HEIF images. > > Maik Thanks Maik and DK Team! All the best, FH