ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: axelrose on December 02, 2011, 08:54:53 AM

Title: Setting IPTC:Country-PrimaryLocationCode
Post by: axelrose on December 02, 2011, 08:54:53 AM
Hello all,

can anybody help with setting IPTC:Country-PrimaryLocationCode?

I create a fresh image with ImageMagick
convert rose: -strip check.jpg

and try to set the LocationCode (string[3]) tag:
exiftool -IPTC:Country-PrimaryLocationCode=DEU check.jpg

but keep getting this error message:
Warning: Tag 'Country-PimaryLocationCode' does not exist or has a bad language code
Nothing to do.


exiftool is version 8.56


Thanks for any help, Axel.
Title: Re: Setting IPTC:Country-PrimaryLocationCode
Post by: axelrose on December 02, 2011, 09:42:25 AM
I tried again with verison 8.71. No problem there.

Is there anything I could do to make it work with 8.56?

Regards, Axel.
Title: Re: Setting IPTC:Country-PrimaryLocationCode
Post by: Phil Harvey on December 02, 2011, 11:21:23 AM
Hi Axel,

I can't test this right now, but your error message indicates a missing "r" in "primary".  Could it be this simple?

I don't remember any problem like this in version 8.56

- Phil
Title: Re: Setting IPTC:Country-PrimaryLocationCode
Post by: axelrose on December 02, 2011, 11:46:08 AM
That's embarrassing ...
Yes - I managed somehow to overlook the misspelling here.

Cheers, Axel.