Main Menu

iptcext LocationName tag

Started by neebah, December 31, 2016, 06:29:04 PM

Previous topic - Next topic

neebah

How do I set this tag.  I've tried many iterations of the tag name. 

Phil Harvey

See here for a complete list of XMP iptcExt tags you can write.

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

neebah

So I've tried "-Xmp-ipctExt:LocationCreatedLocationName=test" and nothing happened.  It is writable as lang-alt. 

Hayo Baan

If it's writeable as lang-alt, I think you need to specify the language, or -x-default for the default.
Have you tried that already?
Hayo Baan – Photography
Web: www.hayobaan.nl

neebah

I've tried that.  Still nothing

Here is my message Warning: Tag 'LocationCreatedLocationName-x-default' is not supported or has a bad language code

and here is what I'm typing in

exiftool -Xmp-iptcExt:LocationCreatedLocationName-x-default+=test test.jpg


Phil Harvey

Quote from: neebah on December 31, 2016, 07:23:12 PM
So I've tried "-Xmp-ipctExt:LocationCreatedLocationName=test" and nothing happened.  It is writable as lang-alt.

Something should have happened:  You should have got an error message saying the tag is not supported.

The problem that you spelt it "IPCT", but is should be "IPTC".

> exiftool -Xmp-iptcExt:LocationCreatedLocationName=test a.jpg
    1 image files updated
> exiftool -Xmp-iptcExt:LocationCreatedLocationName -G1 a.jpg
[XMP-iptcExt]   Location Created Location Name  : test


You don't need to specify the default language, but your last command should have worked because IPTC was spelt properly:

> exiftool -Xmp-iptcExt:LocationCreatedLocationName-x-default+=test a.jpg
    1 image files updated


Note that you don't specify the default language when reading back.

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

neebah

Okay now that I've corrected my own stupidity I'm still getting an error

>exiftool -Xmp-iptcExt:LocationCreatedLocationName=test a.jpg
Warning: Tag 'LocationCreatedLocationName' is not supported
Nothing to do.

Phil Harvey

If you're still getting the error, then I suggest updating to a more recent version of ExifTool.  The current version is 10.37.

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

neebah

Thanks.  I didn't know that tag was a recent change.  I was using 10.33