Setting IPTC:Country-PrimaryLocationCode

Started by axelrose, December 02, 2011, 08:54:53 AM

Previous topic - Next topic

axelrose

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.

axelrose

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.

Phil Harvey

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
...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 ($).

axelrose

That's embarrassing ...
Yes - I managed somehow to overlook the misspelling here.

Cheers, Axel.