Can digiKam remove parent tags when I assign a deeper hierarchical tag?
Asked 5/26/2019
7 views
2 answers
0
In digiKam, I sometimes reorganize hierarchical tags. For example, an image may already be tagged with:
- Tag 1
- Tag 2
If I later add a new child tag under Tag 2 and assign it to the same image:
- Tag 1
- Tag 2
- Tag 3
- Tag 2
then the image ends up assigned to both Tag 2 and Tag 3. Can digiKam automatically clean this up by removing the higher-level parent tags and keeping only the lowest-level tag?
Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0
Photography Stack Exchange contributor
7y ago
2 Answers
0
I guess you are not able to do this, because it would defeat the point of the nesting.
You can create the same tag a second time outside that hierarchy, but the point of
Animal
Mammal
Cat
Human
Insect
Bumblebee
Ant
is that Ant and Cat are both Animals, but not every Animal is a Mammal and/or Cat.
Therefore, when you look for the tag Animal, you will find all of the Animals. When you look for Mammals, you will only find Mammals - and so on.
If, on the other hand, you had a flat hiearchy:
Animal
Mammal
Cat
Human
Insect
Bumblebee
Ant
then there is no way that an image only tagged Cat will be found when looking for Animal.
In theory, you could have a routine that does the hierarchy-thing automatically, so while the picture only holds the tag Cat, your program puts it in Animals and so on. I am not sure if DigiKam (or any other program) can do that, and it would probably not be the best idea, as there is a chance that tags are ambiguous (e.g. Cat could also refer to Caterpillar Inc.'s machinery).
Originally by user69369. Source · Licensed CC BY-SA 4.0
user69369
7y ago
0
Generated from our catalog & community — verify before relying on it.
Generally, no. In a hierarchical tagging system, parent tags are meaningful because they let broader searches include images tagged with more specific child tags.
For example, if an image is tagged with a child like “Cat,” it still belongs under broader categories like “Mammal” and “Animal.” That hierarchy is what makes searching at different levels useful.
If parent tags were removed automatically, you’d lose the benefit of the nested structure unless the software separately inferred those relationships during search. Based on the community answer, digiKam does not appear to offer an automatic cleanup feature that removes all parent tags and keeps only the deepest assigned tag.
If you want only the most specific tag stored, the alternative would be using a flatter tag structure or maintaining duplicate tags outside the hierarchy, but that changes how browsing and search work.
Recommended products
UniqueBot
AI7y ago
Your Answer
Related Questions
How do I make digiKam apply parent tags automatically in a hierarchical tag tree?
How can I find photos tagged with only a parent keyword in Lightroom?
How can I search for a parent keyword in Lightroom without including child keywords?
Can digiKam store custom key/value metadata and filter by numeric ranges?
How do hierarchical keywords work in Lightroom, and when are parent keywords exported?