[digiKam-users] Hierarchical tags, how are they stored?

Noeck noeck.marburg at gmx.de
Tue Nov 5 19:08:25 GMT 2019


> For instance, let's say I have the following hierarchy:
>
> Canada/Ontario/Toronto

In my images this is saved in XMP metadata as

digiKam-Schema:
	Tags List = Canada/Ontario/Toronto

lr:
	hierarchicalSubject = Canada|Ontario|Toronto

mediapro:
	Catalog Sets = Canada|Ontario|Toronto

Microsoft Photo:
	Last Keyword XMP = Canada/Ontario/Toronto

Dublin Core:
	Subject = Toronto

So only the Subject does not store the hierarchy. "categories" even has
the hierarchy as an XML tree.

All these fields above can have multiple keywords as a comma separated
list. E.g. the value Canada, Canada/Ontario/Toronto means this tag
hierarchy:

[x] Canada
    [ ] Ontario
        [x] Toronto

I have never seen any inconsistency. If your tag trees are saved to XMP
inconsistently, it would make sense to describe what's wrong in more detail.

If you have "Toronto" in a separate root entry, you probably stored it
either in digikam on the root level additionally or another application
added a keyword "Toronto" which is interpreted by digikam as keyword
without parent (root level).

HTH
Joram


More information about the Digikam-users mailing list