Author Topic: Country Codes Disappear  (Read 2535 times)

Offline doug_PM_coull

  • Newcomer
  • *
  • Posts: 42
    • View Profile
    • Dougie Coull Photography
Country Codes Disappear
« on: June 28, 2023, 11:04:00 AM »
Bit of an odd one this.

Mac OS - Ventura.

In the fields - ISO Country Code: and Country Code: I can't get the code to be retained in the Metadata Template for whatever reason.

All my other fields are populated with my information and saves so much time, but these two fields come up blank every time.

Thought please?

Thanks.
Cheers,

Dougie.

Offline ahoward

  • Camera Bits Staff
  • Hero Member
  • *****
  • Posts: 973
    • View Profile
Re: Country Codes Disappear
« Reply #1 on: June 28, 2023, 11:16:54 AM »
Can you provide an example of what you have typed into those fields that does not get retained? Country codes need to be a 3 character (or less) string

Offline doug_PM_coull

  • Newcomer
  • *
  • Posts: 42
    • View Profile
    • Dougie Coull Photography
Re: Country Codes Disappear
« Reply #2 on: October 29, 2023, 06:56:08 PM »
Sorry I missed your reply to this.

GB-SCT are the characters as shown in the screenshot from the new post.

See you say a max of three characters but odd it saves in some templates and not others?

Not consistent.

Dougie.
Cheers,

Dougie.

Offline doug_PM_coull

  • Newcomer
  • *
  • Posts: 42
    • View Profile
    • Dougie Coull Photography
Re: Country Codes Disappear
« Reply #3 on: October 30, 2023, 03:13:16 AM »
Can you provide an example of what you have typed into those fields that does not get retained? Country codes need to be a 3 character (or less) string

Thinking about this a bit more I'm finding it ever more confusing.

PM came with a populated list of ISO codes (from memory) and GB-SCT was one of those - this being the case why include codes of more than 3 characters if they can't be used?

Also, why does PM have a field that can accomodate more than you 3 character limit you have quoted?

Is that not asking for users to over populate the field?

If I'm missing anything or getting something wrong please feel fre to correct me.

Dougie.
« Last Edit: October 30, 2023, 08:48:12 AM by doug_PM_coull »
Cheers,

Dougie.

Offline ahoward

  • Camera Bits Staff
  • Hero Member
  • *****
  • Posts: 973
    • View Profile
Re: Country Codes Disappear
« Reply #4 on: October 30, 2023, 11:02:34 AM »
PM came with a populated list of ISO codes (from memory) and GB-SCT was one of those - this being the case why include codes of more than 3 characters if they can't be used?
I'm not sure that "GB-SCT" was ever in the pre-built list of country codes. To check this I ran Photo Mechanic v5's last build with default settings, and the current build of Photo Mechanic 6 with default settings, and that code was not in the automatically loaded list. I suppose it may have been in there from a much older build and and your settings have carried over, but I don't think it's something we have had in the default list for a long time.

Quote
See you say a max of three characters but odd it saves in some templates and not others?
I'd need more information. Are you ever able to take one of those templates, apply it to an image, and have it save that country code into them metadata? When you say it "saves in some templates" are you creating a snapshot? Saving out an XMP File? I did find that I was able to add something to the list of country codes that was longer than 3 characters, but that still didn't mean I could add it to the metadata of an image

Quote
Also, why does PM have a field that can accomodate more than you 3 character limit you have quoted?
Not sure what you mean here, but maybe it helps to note that this change came about in build 6375 of Photo Mechanic 6 and Photo Mechanic Plus, release March 16, 2022. From the release notes:

Quote
Added: Country Code field in all instances now enforces length and encoding limits.
Country Codes must be plain ASCII text and either two or three characters long. If they contain accented characters or exceed the limits then they will be omitted. This is to conform with the IPTC standard.


Offline doug_PM_coull

  • Newcomer
  • *
  • Posts: 42
    • View Profile
    • Dougie Coull Photography
Re: Country Codes Disappear
« Reply #5 on: October 31, 2023, 01:15:35 AM »
Thanks for the response - it is appreciate.

The bottom line is my country code is not usable with PM so I'll have to live with that.

Thanks again.
Cheers,

Dougie.