Import of hierarchical keywords with ":" as separator fails

Older bugs which are supposed to be fixed in 0.84. *** Please try to reproduce your bug and confirm the bug fix. ***

Moderators: XnTriq, helmut, xnview, Dreamer

Post Reply
User avatar
DrAlzheimer
Posts: 5
Joined: Tue Feb 15, 2011 10:51 am
Contact:

Import of hierarchical keywords with ":" as separator fails

Post by DrAlzheimer »

Hi,

I tried the options "import IPTC keywords" and "read hierarchical keywords" with ":" as separator for IPTC keywords. The IPTC categories in my image files are defined as category:subcategory, but the import does not work as expected. All hierarchical keywords are imported in the main category as "somecategory:somesubcategory". However, If I replace the keywords separator in the IPTC data with "|", the import into (sub)categories works just fine.

I didn't try the "/" and "\" separator, though. In any case, I use GeoSetter for geotagging my photos. GeoSetter assigns IPTC keywords geo:$lat and geo:$lon to geotagged images, so it would be very convenient to be able to use ":" as hierarchy separator.

Thanks in advance!
User avatar
xnview
Author of XnView
Posts: 43357
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Import of hierarchical keywords with ":" as separator fa

Post by xnview »

could you send me a file example?
Pierre.
User avatar
DrAlzheimer
Posts: 5
Joined: Tue Feb 15, 2011 10:51 am
Contact:

Re: Import of hierarchical keywords with ":" as separator fa

Post by DrAlzheimer »

Sure, you can test it with the following image file:

Image
User avatar
xnview
Author of XnView
Posts: 43357
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Import of hierarchical keywords with ":" as separator fa

Post by xnview »

ok, i see that keywords contains "geo:lon=" & "geo:lat="
but what must be the good categories?
Pierre.
User avatar
DrAlzheimer
Posts: 5
Joined: Tue Feb 15, 2011 10:51 am
Contact:

Re: Import of hierarchical keywords with ":" as separator fa

Post by DrAlzheimer »

Ok,

when opening this file, the "geo" keywords are used as categories as shown in the screen shot below:
01.png
01.png (18.99 KiB) Viewed 1667 times
But what I would expect after enabling the option Settings->Metadata->read hierarchical keywords->[x]: is a hierarchical category structure like this:
03.png
03.png (25.53 KiB) Viewed 1667 times
If edit the IPTC meta data and add some "geo" keywords that contain | as separator, the hierarchical categories are created as shown in the 2nd screen shot above. But I think this should also work with :, if I interpret the "read hierarchical keywords" option correctly.
02.png
02.png (87.58 KiB) Viewed 1667 times
User avatar
xnview
Author of XnView
Posts: 43357
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Import of hierarchical keywords with ":" as separator fa

Post by xnview »

See Issue 577 for current status and details.
Pierre.
User avatar
helmut
Posts: 8705
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: Import of hierarchical keywords with ":" as separator fa

Post by helmut »

This problem is supposed to be fixed in XnView MP 0.75 or later. Could you please try and confirm the bug fix, DrAlzheimer?
Post Reply