[Digikam-users] tag hierarchy wish 139547

Caulier Gilles caulier.gilles at kdemail.net
Tue Jan 9 18:07:29 GMT 2007


Le mardi 9 janvier 2007 18:24, Caulier Gilles(UNTRUSTED, sender is 
<digikam-users-bounces-+caulier.gilles=kdemail.net at kde.org>) a écrit :
> Le mardi 9 janvier 2007 17:34, Marcel Wiesweg a écrit :
> > This would be the expected behavior if all tags are checked, but a bug if
> > only testtag2 is checked. I will test for this problem.
>
> No, Marcel, it's not a bug.
>
> Storing the complete path for each tag is It the only way to store Tags in
> IPTC and to restore later with the complete hierarchy. This is require also
> about interoperability stuff...

To be more explicit, i will give an example. Imageine this tags hierarchy:

City
    \_Paris [x]
         \_Places
                \_NotreDame [x]
                \_EiffelTower
                \_Trocadero [x]
    \_London
         \_Places
               \_PicadilyCircus
               \_QueenVictoria
               \_R.A.F.Memorial
                            
In this case a tagged picture will have following IPTC keywords :

City/Paris
City/Paris/Places/NotreDame
City/Paris/Places/Trocadero

In IPTC metadata, we are not limited to add IPTC keywords. The Path stored by 
digiKam in these tags is the path to the check digiKam Tags in digiKam Tags 
hierarchy.

Why do it. Simple, imagine this case :


City
    \_Paris 
         \_Places [x]
                \_NotreDame 
                \_EiffelTower
                \_Trocadero [x]
    \_London
         \_Places [x]
               \_PicadilyCircus [x]
               \_QueenVictoria
               \_R.A.F.Memorial

Here, City/Paris/Places and City/London/Places are checked. If the complete 
path is not saved in IPTC keywords, how distinguous both tags from Tags 
hierarchy ?

This point is very important because IPTC keywords are used to backup Tags 
from database into metadata. If you copy a pictures from a computer to 
another one, when you will import this picture in digiKam, all IPTC keywords 
will be used to re-create the digiKam tags hierarchy in database. Of course, 
if a Tags path already exist it will not re-created.

If we store only the Tags name, not the path, we cannot be abble to do it...

Gilles




More information about the Digikam-users mailing list