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

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

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: 39296
Joined: Mon Oct 13, 2003 7:31 am
Location: France

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

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: 39296
Joined: Mon Oct 13, 2003 7:31 am
Location: France

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

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:
without hierarchical categories
But what I would expect after enabling the option Settings->Metadata->read hierarchical keywords->[x]: is a hierarchical category structure like this:
with hierarchical categories
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.
change meta-data
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 39296
Joined: Mon Oct 13, 2003 7:31 am
Location: France

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

Post by xnview »

See Issue 577 for current status and details.
Pierre.
User avatar
DrAlzheimer
Posts: 5
Joined: Tue Feb 15, 2011 10:51 am

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

Post by DrAlzheimer »

Thank you! :)
User avatar
helmut
Moderator
Posts: 8693
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?