ExifTool Forum

ExifTool => Archives => Topic started by: Archive on May 12, 2010, 08:54:16 AM

Title: iptc2xmp-xmp2iptc Location tag
Post by: Archive on May 12, 2010, 08:54:16 AM
[Originally posted by bogdan on 2008-03-04 18:26:17-08]

Hi Phil,

As you suggested, I've downloaded xmp2iptc and iptc2xmp args files. I didn't go thru all tags (yet), but there seems to be wrong "Location" tag usage. I've been using Lightroom for test purposes, and my finding is that:

IPTC:Sub-location equals XMP-iptcCore:Location

In both args files, IPTC:ContentLocationName tag is used, which isn't recognized in Lightroom, while using "Sub-location" works as supposed.

Thanks for reading... greetings,

Bogdan

PS: I hope, you don't mind I don't thank you everytime you answer my questions :-)
Title: Re: iptc2xmp-xmp2iptc Location tag
Post by: Archive on May 12, 2010, 08:54:16 AM
[Originally posted by exiftool on 2008-03-04 19:04:27-08]

Hi Bogdan,

Thanks for pointing this out.  This is the translation recommended by
revision 8 of the IPTC4XMPCore specification.  I'm not sure why I had
it wrong... perhaps I was using an older revision.

Anyway, this will be fixed in the exiftool 7.20 distribution.  Also, I
will add translations for XMP-iptcCore:IntellectualGenre and
XMP-iptcCore:SubjectCode, which were missing from my list.

Here are the new translations:

xmp2iptc:

Code:
-XMP:* > IPTC:*
-XMP-dc:Title > IPTC:ObjectName
-XMP-dc:Subject > IPTC:Keywords
-XMP-photoshop:Instructions > IPTC:SpecialInstructions
-XMP-dc:Creator > IPTC:By-line
-XMP-photoshop:AuthorsPosition > IPTC:By-lineTitle
-XMP-photoshop:State > IPTC:Province-State
-XMP-photoshop:Country > IPTC:Country-PrimaryLocationName
-XMP-photoshop:TransmissionReference > IPTC:OriginalTransmissionReference
-XMP-dc:Rights > IPTC:CopyrightNotice
-XMP-dc:Description > IPTC:Caption-Abstract
-XMP-photoshop:CaptionWriter > IPTC:Writer-Editor
-XMP-iptcCore:CountryCode > IPTC:Country-PrimaryLocationCode
-XMP-iptcCore:Location > IPTC:Sub-location
-XMP-iptcCore:IntellectualGenre > IPTC:ObjectAttributeReference
-XMP-iptcCore:SubjectCode > IPTC:SubjectReference

iptc2xmp:

Code:
-IPTC:* > XMP:*
--IPTC:Source
--IPTC:Keywords
-IPTC:Source > XMP-photoshop:Source
-IPTC:Keywords > XMP-dc:Subject
-IPTC:ObjectName > XMP-dc:Title
-IPTC:SpecialInstructions > XMP-photoshop:Instructions
-IPTC:By-line > XMP-dc:Creator
-IPTC:By-lineTitle > XMP-photoshop:AuthorsPosition
-IPTC:Province-State > XMP-photoshop:State
-IPTC:Country-PrimaryLocationName > XMP-photoshop:Country
-IPTC:OriginalTransmissionReference > XMP-photoshop:TransmissionReference
-IPTC:CopyrightNotice > XMP-dc:Rights
-IPTC:Caption-Abstract > XMP-dc:Description
-IPTC:Writer-Editor > XMP-photoshop:CaptionWriter
-IPTC:Country-PrimaryLocationCode > XMP-iptcCore:CountryCode
-IPTC:Sub-location > XMP-iptcCore:Location
-IPTC:ObjectAttributeReference > XMP-iptcCore:IntellectualGenre
-IPTC:SubjectReference > XMP-iptcCore:SubjectCode

Please let me know if you see anything else wrong with them.

Thanks.

- Phil

...and of course I don't mind the thank-you's. Smiley
Title: Re: iptc2xmp-xmp2iptc Location tag
Post by: Archive on May 12, 2010, 08:54:16 AM
[Originally posted by bogdan on 2008-03-04 19:52:43-08]

I don't use all those tags in GUI; simply because I don't know what purpose they serve ( e.g. OriginalTransmissionReference). So, looking on both args files, I just wanted to check if I use correct IPTC-XMP tags inside GUI -that's how I've noticed Sub-Location.

In general, for tags I'm familiar with, everything seems to be fine in your translations now.

Bogdan