Problem when importing photos with categories with a hierarchical structure

Ask for help and post your question on how to use XnView MP.

Moderators: helmut, XnTriq, xnview

OTRAG
Posts: 44
Joined: Sat Mar 27, 2021 12:45 pm

Problem when importing photos with categories with a hierarchical structure

Post by OTRAG »

hi xnview team,

I have the following problem when importing RAW and JPG files into XnViewMP 1.8.8:

Starting point:
Files were rated, tagged and commented with a separate tool (F-Stoppapp for Android)
The information was stored by the tool both in the JPG file and in an XMP file (for RAW and JPG).

Problem:
The categories assigned by me are not processed as desired in XnViewMP

Case 1: The category is already known in XnViewMP and created hierarchically (Photography|Plants|Tree). The category was stored exactly in the tool and assigned to the RAW/JPG file. Although the corresponding settings were made in the XnViewMP setup (automatic parent category), only the category “Tree” is imported, but not the parent structure.

Case 2: The category is not known in XnViewMP. The category was created in the tool (Photography|Plants|Flower) and assigned to the RAW/JPG file. During import, a new category “Flower” is created in XnViewMP, but not under the existing structure Photography|Plants| but under a new structure Plants|. The topmost structure “Photography” was not taken into account.

When I look at the file info, I see the category I entered under xmp, dc, subject[1].

In the RAW/JPG files associated sidecar files (.xmp) my categories are entered as follows:
...
<dc:subject>
<rdf:Bag>
<rdf:li>Photographs|Plants|Tree
</rdf:Bag>
</dc:subject>
...

What do I have to do so that the categories assigned to the photos, including the default parent category, are correctly adopted by XnViewMP?

Regards, Otrag
You do not have the required permissions to view the files attached to this post.
Regards, Otrag
User avatar
xnview
Author of XnView
Posts: 46230
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Problem when importing photos with categories with a hierarchical structure

Post by xnview »

I've tried with a clean db, and cateogires are correctly created
Clipboard-1.jpg
Please send me sample files?
You do not have the required permissions to view the files attached to this post.
Pierre.
OTRAG
Posts: 44
Joined: Sat Mar 27, 2021 12:45 pm

Re: Problem when importing photos with categories with a hierarchical structure

Post by OTRAG »

Hello Pierre,

I have used time to exchange tags and ratings between different programs like XnView MP, Darktable, F-Stop etc. This seems to be a bottomless pit as many things work but not reliably enough.
So I will stop these attempts and concentrate on XnView MP as the leading program for tagging.

This process can therefore be closed.
Many thanks for your efforts.
Regards, Otrag