One of the advantages of iMatch is that it keeps tags that should have the same data synchronized so the metadata in the file is consistent. This is no small task with the multitude of repetitive tags and my appreciation grows for this over time.
I have stumbled across a situation where some geo-location data gets "out-of-sync". I don't know if this is a bug or the MWG standards at work or just one of those things.
For context:
- By Geo-Location tags I mean those for country code, country name, state, city and sublocation (and in the case of the IPTC Extension, I mean the Location Shown set of tags).
- For updating of the tags, I used the GPS Details metadata panel that comes with iMatch (updates IPTC Extension Location Shown tags)
- I complete a write-back before looking at the various tags
- I use the metadata panel browser to look at the tags.
First, country code.
It is a bit unique as there is no composite tag for it. It lives in the IPTC Core and IPTC Extension groups. If one populates geo-locations from a reverse geo-code or assigning an iMatch Location, the two fields are synchronized. If one updates either tag manually - they stay different. Doing a reverse geo-code fixes the issue (note that updating the code in the reverse geo-code dialog without doing a lookup doesn't do it).
Also, if one only enters the code manually in a metadata panel for the IPTC Extension, it never populates the IPTC Core which then means the File.MD.countrycode is also unpopulated.
*** My assumption is that as it is not a composite tag and there are only two tags (how would iMatch pick one over the other?), it is a user task to keep them the same (including any initial populating of the IPTC Core tag).
Now the other tags.
Country name, state and city live in the IPTC Extension and the Photoshop groups. Sublocation is in the IPTC Extension and the IPTC Core. They are always in-sync after the first write-back, but then if I change an IPTC Extension field in the metadata panel, the change is not always synchronized to the other tags. This behavior is situational, and I tried out the following five scenarios:
1. If one only completes the text fields (ie. no GPS), they stay in-sync
2. If one manually adds GPS values, they stay in-sync
3. If one assigns GPS and an iMatch Location, they won't stay synchronized
4. If one assigns GPS through the Map Panel and then manually enters the tags, they stay in-sync
5. If one assigns GPS through the Map Panel and does a reverse geo-code lookup, they won't stay synchronized
Interestingly (to me), in scenarios 3 & 5 where the Photoshop and IPTC Core tags keep their old values, the Composite tags show up in the Browser with the updated values from IPTC Extension (country name, city, sublocation and state). I also found the difference between scenarios 4 & 5 surprising (but perhaps there was a flaw in my testing).
As I said, not sure if this is a bug or just one of those oddities of metadata. Not sure if this behaviour occurs in exiftool or iMatch itself.
*** Now that I know this, I can easily keep them synchronized by picking one set of tags as my source of truth and running a template to keep the tags synchronized.
Not a big item but thought it useful to share.
Michael