Crossreference between Adobe SDK naming and Exiftool tag names

Started by ScannerBoy, October 17, 2021, 03:40:13 PM

Previous topic - Next topic

ScannerBoy

My current project uses Exiftool to handle the image metadata and since my main interest for this work is genealogy, I have recently come across a group which is in the process of defining a set of recommended metadata tags for genealogical work.
https://github.com/fhmwg/cpp-code

Since their basic code is based on the Adobe SDK and its naming conventions, (and Exiftool was recently mentioned as a potential candidate for reading/writing the recommended metadata on their FB page) I am very interested in finding out if there is any guidance and/or cross reference available between the Adobe naming convention and the tag naming convention of Exiftool?

Phil Harvey

I don't understand the question.  What names are you talking about?  ExifTool tag names vs Adobe xmp property names?  These should be the same in most situations, but XMP structures complicate things somewhat.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

ScannerBoy

My apologies for not providing an example.
The data at the same site for some of the metadata tags proposed at:
https://github.com/fhmwg/current-tags/blob/main/stage1.md
frames all the tags as Adobe XMP SDK terminology, such as
    XMP SDK                            Exiftool tag name                  Group1 name                 
mwg-coll:Collections                   Collections                        XMP-mwg-coll              
mwg-coll:CollectionName                CollectionName                     XMP-mwg-coll
mwg-coll:CollectionURI                 CollectionURI                      XMP-mwg-coll   


In this case, it did not take me too long to see the relationship, but it  may not be as easy for all tags. As well it takes looking at 2 fields, at least in this case

Phil Harvey

The example you chose is interesting.  The Adobe mwg-coll-Collections is a structure, while Adobe mwg-coll:Collection name is (likely) a structure element.  But ExifTool XMP-mwg-coll:CollectionName is a flattened tag name (ie. the CollectionName extracted from a Collections structure.  (Actually, the ExifTool tag name would properly be XMP-mwg-coll:CollectionsCollectionName, but ExifTool usually removes redundancies like this in the tag name.)  The difference may sound subtle, but it has implementations as far as the API is concerned.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

ScannerBoy

This collection is a new one to me as well - but then so much of the metadata is ;-)
Although the working group seems relatively recent, and it certainly is new to me, it seems it is/was formed to try and come up with recommendations for using existing metadata tags with genealogy in mind.
Since their goals and mine overlap a good deal, I will likely need to pay attention to what they recommend/discuss.
From what I have seen thus far, they very much lean towards using the Adobe SDK as a base for any example code, and thus the issue of naming of specific tags will surely come up again & again.
This specific metadata tag is to be used for 'albums' but right now, I have nothing definite on how that will be used, so I don't know yet just what questions it will raise.