<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 13/12/2024 16:16, Steve Franks
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAAChAXUgV80hooxjJJXbmx=EQX_tZ1r4gKN3fy5KpmwHiasrBg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="auto">
<pre cols="72"><font size="2"
style="font-family:arial,sans-serif">Frédéric</font></pre>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">The problem lies with the tag settings that you
have selected in digikam.digikam will read tags from all of
these places in your photo's metadata and write tags to them
in the appropriate forms.<br>
</div>
<div dir="auto">digikam as you know has hierarchical tags. Some
of the other items in the list are not hierarchical, so if you
assign France/Charente Maritime/La Rochelle as a tag, digikam
(like other software) will write your single tag as 3 top
separate tags.</div>
<div dir="auto">France</div>
<div dir="auto">Charente Maritime </div>
<div dir="auto">La Rochelle</div>
<div> <br>
</div>
<div>Another complication is that some of the programs use
different characters to show a hierarchy. I have seen | \ ,
and . used by programs over the years. digikam cannot parse
these correctly, so it will create tags for each of them. <br>
</div>
<div><br>
</div>
<div dir="auto">To prevent this from happening, do the
following:-</div>
<div dir="auto">1) Untick all of the settings that you are not
currently using. I suggest that you only tick digikam and any
other program that you actually use.</div>
<div>2) Use exiftool to delete the unwanted tags from your
images. It may be possible to use digikam to remove unwanted
tags, I don't know.</div>
<div> For example:- I think that the following command will
remove Microsoft Photo tags:-<br>
</div>
<div> exiftool -xmp-microsoft:all= -m C:\Photos\ -r
-overwrite_original</div>
<div> N.B. Change C:\Photos\ to the location of your photos.
Try this on a few photos and check the results before running
it on all of your photos.<br>
</div>
<div dir="auto"> <br>
</div>
<div><b>Hints</b></div>
<div>It is easy to find all of the places where duplicate tags
are held in digikam. Type part, or all, of the tag in the
right-hand search box.</div>
<div>e.g.</div>
<div><img src="cid:part1.2Jzm1ED7.X09tKsW2@free.fr"
alt="TagSearch.png" width="329" height="555" class=""><br>
</div>
<div>Don't duplicate tags unless it's absolutely necessary. In
my example I notice that I have duplicated an entry - Magpie
and Magpie Moth are the same in the Moth branch.</div>
<div>In your case you could have a tag for Gardens and leave the
word off the tag. In my case I have a tag for Castle under
Buildings and for Dover Castle I allocate Places/Dover and
Buildings/Castle to my photos, instead of having a single tag
"
Dover Castle". To find all photos of Dover Castle Select
either Castles, or Dover, then apply a Tag Filter of the other
tag.</div>
<div>I hope that this helps,</div>
<div>Steve<br>
</div>
</div>
</blockquote>
<br>
Thank you for your detailed post, Steve. Yes, it confirms some of my
thoughts. <br>
<br>
It is now time to modify my dK tags settings and clean my photos
with exiftool. But I guess I won't be able to avoid using some
non-hierarchical data, namely IPTC. I feel not putting the tags in
IPTC data could lead to compatibility issues with some software. But
at least I will remove acdsee and MicrosoftPhoto and maybe Dublin
Core.<br>
<br>
<pre class="moz-signature" cols="72">--
Frédéric Da Vitoria</pre>
</body>
</html>