ExifTool Forum

ExifTool => Newbies => Topic started by: ricklevy21 on November 15, 2017, 03:40:38 PM

Title: Difficulty writing DarwinCore tags
Post by: ricklevy21 on November 15, 2017, 03:40:38 PM
I am having trouble getting exiftool to recognize tags from the darwin core. I see that the Perl Module file for the darwinCore is in the lib. I also downloaded the darwincore config file and added it to the directory, but to no avail. Am I missing something here?

Here is the path to the config file C:\ExifTool\.ExifTool_config.config

exiftool.pl and lib (along with everything else from the tar download) is in the same C:\ExifTool directory

Here is what I get when I try to write a darwincore tag:


C:\ExifTool>exiftool.pl -scientificName=TEST Q:\rick_test
Warning: Tag 'scientificName' is not defined
Nothing to do.


Thanks for any advice,

Rick
Title: Re: Difficulty writing DarwinCore tags
Post by: StarGeek on November 15, 2017, 04:07:18 PM
In this example, the tag you want is TaxonScientificName as ScientificName is part of the Taxon Struct Tag

Take a look at the Darwin Core Tag page (https://exiftool.org/TagNames/DarwinCore.html) to see what the flattened tag names are if you're not writing a full structure. 
Title: Re: Difficulty writing DarwinCore tags
Post by: ricklevy21 on November 15, 2017, 04:30:50 PM
Fantastic, thank you! So basically the struct name must be included. I work in a natural history collection within a botanic garden and this is going to be incredibly useful when linking specimen data to the images we take in the field.
Title: Re: Difficulty writing DarwinCore tags
Post by: StarGeek on November 15, 2017, 04:54:26 PM
Quote from: ricklevy21 on November 15, 2017, 04:30:50 PM
So basically the struct name must be included.

Not necessarily.  Phil has attempted to make the tag names more readable for people.   So for some of the structure parts, rather than have TaxonTaxonConceptID, it's simply TaxonConceptID.  The link above has the details.