ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: klemmleuchte on May 28, 2010, 07:18:04 AM

Title: Correct Syntax for writing -IPTC:Country-PrimeryLocationName/-Code?
Post by: klemmleuchte on May 28, 2010, 07:18:04 AM
Hi,
I'm testing a batch to write fixed IPTC-contents.
-Artist, -Copyright, IPTC:Copyright, -IPTC-Writer-Editor are still working.

-Country-PrimeryLocationName=Deutschland
-Country-PrimeryLocationCode=DEU
doesn't match and runs into
QuoteWarning: Tag 'Country-PrimeryLocationName' does not exist or has a bad language
code
Nothing to do.
-- press any key --
and similar on ..Code

Changed to english contents 'Germany' and 'GER' also do not work.
Code shortened to 'DE' gets no warning, but in ISO3166 is also listed DEU or GER, which are both not working.
-IPTC on written files do not list any Country...-data.

What checks ExifTool are doing for this warning?
Can you please help with the correct command?
Title: Re: Correct Syntax for writing -IPTC:Country-PrimeryLocationName/-Code?
Post by: Phil Harvey on May 28, 2010, 07:23:46 AM
The problem is the name of the tag, not the value.

You spelled "Primery" instead of "Primary" in the tag names.

- Phil
Title: Re: Correct Syntax for writing -IPTC:Country-PrimeryLocationName/-Code?
Post by: klemmleuchte on May 28, 2010, 11:06:58 AM
 :o
Painful...
Seems you've better eyes than I. I controlled several times the spelling, but never seen this. Thank you for helping again.