Page 1 of 1

Import of hierarchical keywords with ":" as separator fails

Posted: Tue Jan 06, 2015 5:21 pm
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!

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

Posted: Wed Jan 07, 2015 1:35 pm
by xnview
could you send me a file example?

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

Posted: Thu Jan 08, 2015 8:44 am
by DrAlzheimer
Sure, you can test it with the following image file:

Image

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

Posted: Thu Jan 08, 2015 9:09 am
by xnview
ok, i see that keywords contains "geo:lon=" & "geo:lat="
but what must be the good categories?

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

Posted: Thu Jan 08, 2015 2:04 pm
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 1881 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 1881 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 1881 times

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

Posted: Fri Jan 09, 2015 2:54 pm
by xnview
See Issue 577 for current status and details.

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

Posted: Sun Jan 11, 2015 10:06 am
by DrAlzheimer
Thank you! :)

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

Posted: Fri Mar 03, 2017 9:19 pm
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?