hierarchical keywords in dc:subject

Post Reply
Nordlicht
Posts: 10
Joined: 29 Sep 06 18:32

hierarchical keywords in dc:subject

Post by Nordlicht »

Hello,

I have many photos where the hierarchical keywords are written into the dc:subject field with the full path as the keyword.

It will look like that:

dc:subject: HERKUNFT|Dänemark Jütland|Nykøbing Mors

PS then creates a catalog label:

Miscellaneous
HERKUNFT|Dänemark Jütland|Nykøbing Mors

How do I best deal with the entry under Miscellaneous? It makes no sense to me to have a label "HERKUNFT|Dänemark Jütland|Nykøbing Mors".

If I delete the label and write the metadata to the file, the entry under dc::subjct is retained and the label is created again with the next import.

Thanks for hints

Nordlicht
Hert
Posts: 7870
Joined: 13 Sep 03 6:24

Re: hierarchical keywords in dc:subject

Post by Hert »

You appear to have dc:subject filled with hierarchical keywords. That is not how that field is intended. his field is intended for flat (leaf) keywords and there is lr:hierarchicalSubject for the hierarchical keywords. However, the latter metadata field was introduced much later and back in the days, different tools offered delimited keywords to be written in dc:subject so that at least hierarchical information would be pertained.

What I recommend that you do (try this on a few images first):
1. Start a new Catalog
2. In Preferences -> Synchronize Settings -> Read Settings
3. Enabled "Read delimited keyword"
4. Choose your | delimiter

Then import the images to this new catalog. That should mirror the hierarchy as Catalog Labels.

Then fix the metadata by rewriting the metadata. That will write the leaf keyword to dc:subject and the hierarchical keywords to lr:hierarchicalSubject

Don't forget to disable the delimited keyword reading once you've completed the conversion.
This is a user-to-user forum. If you have suggestions, requests or need support then please send a message
Post Reply