ExifTool Forum

General => Metadata => Topic started by: neebah on December 31, 2016, 06:29:04 PM

Title: iptcext LocationName tag
Post by: neebah on December 31, 2016, 06:29:04 PM
How do I set this tag.  I've tried many iterations of the tag name. 
Title: Re: iptcext LocationName tag
Post by: Phil Harvey on December 31, 2016, 07:07:16 PM
See here (https://exiftool.org/TagNames/XMP.html#iptcExt) for a complete list of XMP iptcExt tags you can write.

- Phil
Title: Re: iptcext LocationName tag
Post by: 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. 
Title: Re: iptcext LocationName tag
Post by: Hayo Baan on January 01, 2017, 04:12:39 AM
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?
Title: Re: iptcext LocationName tag
Post by: neebah on January 01, 2017, 08:09:27 AM
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

Title: Re: iptcext LocationName tag
Post by: Phil Harvey on January 01, 2017, 09:42:48 AM
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
Title: Re: iptcext LocationName tag
Post by: neebah on January 01, 2017, 09:46:47 AM
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.
Title: Re: iptcext LocationName tag
Post by: Phil Harvey on January 01, 2017, 09:50:44 AM
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
Title: Re: iptcext LocationName tag
Post by: neebah on January 01, 2017, 10:23:04 AM
Thanks.  I didn't know that tag was a recent change.  I was using 10.33