Reading structured fields, like taxon in DarwinCore

Started by alanterra, August 11, 2020, 04:17:56 PM

Previous topic - Next topic

alanterra

I understand that you can set a component of a structure (like DarwinCore taxon) either by setting the field in the structured tag, or by using the shortcut name that references the field. But I can't figure out how to read a structured field.

All of the following commands work as expected

$ exiftool -taxon='{order=Rosales}' photo.jpg
$ exiftool -taxonorder=Fabales photo.jpg
$ exiftool -xmp-dwc:all photo.jpg

But I can't figure out how to read just the "taxon" fields. Can that be done?

StarGeek

Add the -struct option.  You'll get output like your first example with all parts of the structure.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype