Categories Formula with Metadata Tag

Started by javiavid, August 07, 2019, 12:59:25 PM

Previous topic - Next topic

javiavid

I am trying to make a category that filters the images that do not have geoencode.
But I'm not sure how I have to write the metadata tag.
The value I want to use is:
Location Shown Country Name

And I am trying in several ways, but it gives me an error:

"@MetadataTag [XMP :: iptcExt \ LocationShownCountryName, novalue]"
"@MetadataTag [LocationShownCountryName, novalue]"
"@MetadataTag [{File.MD.XMP :: iptcExt \ LocationShownCountryCode \ LocationShownCountryCode \ 0}, novalue]"

What is the value I should use?

Mario

#1
You seem to use some extra blanks in your tag name. This will not work. The syntax must be correct.
Note that this tag may not be filled until IMatch has written back metadata. Always use the same tags IMatch uses internally.

Do you know that you can right-click in the Metadata Panel to copy the variable for a tag into the clipboard?
And this is also the syntax (Without the {} and the File.MD prefix) you need for category formulas.

And for almost all frequently used tags, IMatch offers handy Metadata Tag ShortCodes.
For country name, just use the variable {File.MD.country} or the plain country tag in your category formula.

NOTE that category formulas based on metadata can be a severe performance drag so make sure you read and understand the corresponding information in the IMatch help system.
You might also want to look at the default IMatch Workflow categories in the Category View. These categories are very useful and show how to use metadata formulas. There are also many examples in the help.

That all said, I would recommend not to use a category formula for this. This is much easier handled with a data-driven category. You might not know, but IMatch does all this already for you. Open the category IMatch Standard Categories|Location in the Category View. It shows a 3-level hierarchy with County > City > Location. 

By default it suppresses files without a value. If you want to see files without county, city, location, just right-click the data-driven category and choose "Data driven..." in the "Advanced" sub-menu. Or click on the ... button in the properties for this category. Then enable the "Use 'Other' for all 3 levels.

Data-driven Categories

-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

javiavid

Every day I am more surprised by the amount of "hidden" options it has.
I think it's my turn to study to take 100% advantage of it ;D

The option you propose to me works perfectly, thanks.

Mario

IMatch is not a toy or entry-level 'DAM' system. It is a full-fledged true DAM with powerful features. And many levels of these.

Naturally, not all users use all features. And it is impossible to know everything when you first started. Not even I remember all features and options. But I use the IMatch help system (https://www.photools.com/help/imatch/) frequently.

You may also want to watch the free video tutorials in the IMatch Learning Center. Even users who use IMatch for a long time learn tips & tricks and shortcuts there.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook