photools.com Community

IMatch Discussion Boards => General Discussion and Questions => Topic started by: frankdarwin on August 12, 2024, 09:20:02 PM

Title: Core Data in Metadata
Post by: frankdarwin on August 12, 2024, 09:20:02 PM
Hello,
what does the checkbox "Marked" in the "CoreData" section of the metadata mean?
Frank
Title: Re: Core Data in Metadata
Post by: PandDLong on August 13, 2024, 08:44:00 AM

The question is a little ambiguous - can you clarify.

I am going to take a guess based on the word 'Marked' - there is a tag in XMPRights called 'Marked'.  It is set to '1' to indicate that copyright information exists  (at least that is how I understand it).

Hope that is helpful.

Michael
Title: Re: Core Data in Metadata
Post by: Mario on August 13, 2024, 09:10:11 AM
When (Marked is) true, indicates that this is a rights-managed resource. When false, indicates that this is a public-domain resource. Omit if the state is unknown.

See XMP Rights Management namespace (https://developer.adobe.com/xmp/docs/XMPNamespaces/xmpRights/)
Title: Re: Core Data in Metadata
Post by: frankdarwin on August 13, 2024, 11:51:25 AM
Can I search for files where "Marked" is true?
I have tried to find a suitable filter, but unfortunately without success.
I have not been able to find anything in the IM help system either.
Title: Re: Core Data in Metadata
Post by: Mario on August 13, 2024, 12:11:25 PM
Metadata Value Filter in the Filter Panel, as usual. Works for all tags.

Image1.jpg

Note that there are 3 possible values as demonstrated. No data (tag does not exist), 0 (explicitly unmarked) and 1 (marked)
Title: Re: Core Data in Metadata
Post by: frankdarwin on August 16, 2024, 10:41:34 PM
Hello Mario,
I have 3 more questions about the Metadata Value Filter:
1. if I enter the value "{File.MD.XMP::xmpRights\Marked\Marked\0}" as a variable, I get the following result:

Filter 0.jpg

No photos with the value "0" are found. This is correct, as there are none, but it is irritating. I would have expected an entry with the number "0" here. What is the reason for this?

2. if I enter the value "{File.MD.XMP::xmpRights\Marked\Marked\1}" as a variable, I get the following result:

Filter 1.jpg
I can't find any entries for photos with the value "0" or "1"
What does the number at the end of the variable stand for?

3. in your last answer you gave me the variable name that I have to enter, but of course I don't always want to ask. That's why I tried to find the variable name myself using the Variable Selector. I did not find it.
What do I have to do to find the name of a variable I want to search for?

Perhaps this is also mentioned somewhere in the very comprehensive and excellent documentation. But unfortunately I have not found anything. I think it is in the nature of extensive documentation that it is not easy to find something very specific.

Frank
Title: Re: Core Data in Metadata
Post by: Jingo on August 16, 2024, 10:55:01 PM
I would imagine that the tag itself it explicitly: {File.MD.XMP::xmpRights\Marked\Marked\0} - the "0" at the end is a part of the tag and not a representative of the result options.  So, if you change this to: {File.MD.XMP::xmpRights\Marked\Marked\1} - that could reference either another tag altogether - or just a bogus tag.

If you don't have any files with a tag of "0" (explicitly unmarked) then it doesn't appear in the list because you can't check it off to select it as there are no files to filter upon. Also, I would think the results only display a list of items from the results of the files themselves.. if you were to use a tag of locations, it would only list out the locations from your files.. not ALL locations in your entire database for example.
Title: Re: Core Data in Metadata
Post by: Mario on August 17, 2024, 08:21:49 AM
The \0 at the end of the tag is the index of the tag and part of the tag name.

It's how ExifTool names tags: Group\id\tag\index. The index is usually 0.

=> XMP::xmpRights\Marked\Marked\0
There is no tag named XMP::xmpRights\Marked\Marked\1 or XMP::xmpRights\Marked\Marked\2.

You cannot replace the index with arbitrary numbers, to produce some kind of "filter" or anything. For non-indexed tags you can omit the \0 part. But changing it to something else produces an unknown tag name - or in your case, a variable for a tag that does not exist. The variable will always return an empty result, which is exactly what you get.

Quote3. in your last answer you gave me the variable name that I have to enter, but of course I don't always want to ask. That's why I tried to find the variable name myself using the Variable Selector. I did not find it.
What do I have to do to find the name of a variable I want to search for? 

IMatch displays the full tag name in the tooltip in the Metadata Panel:

Image1.jpg

Using the context menu (right click) you can copy the name of the corresponding variable into the Windows clipboard:

Image2.jpg

If this is new to you, I suggest you browse the Metadata Panel (https://www.photools.com/help/imatch/md_panel.htm) help topic again to remind yourself of all the features.
Title: Re: Core Data in Metadata
Post by: frankdarwin on August 17, 2024, 12:19:56 PM
Thanks a lot!