photools.com Community

IMatch Discussion Boards => General Discussion and Questions => Topic started by: Stuntflyer on February 16, 2025, 04:45:49 AM

Title: Help with Dashboard recognizing "Country"
Post by: Stuntflyer on February 16, 2025, 04:45:49 AM
I have entered the countries I have visited in the metadata, "Country" composite\country\0. It's in the text input section of the "Describe" layout.

When looking at the "Dashboard" I can see the list of countries. but not all of them have a quantity. There is no quantity for the Bahamas, France, Spain, etc.

Win 10 22H2
IMatch 2025.1.12



Title: Re: Help with Dashboard recognizing "Country"
Post by: Mario on February 16, 2025, 09:17:55 AM
This list is produced by looking at the two-letter country code in the location data of your files.
Is it filled?
Title: Re: Help with Dashboard recognizing "Country"
Post by: axel.hennig on February 16, 2025, 10:17:54 AM
I think it is three-letter county code.

Look at "Location created" tags. Are they filled? I had a similar problem some time ago and as far as I can remember that was it.
Title: Re: Help with Dashboard recognizing "Country"
Post by: Mario on February 16, 2025, 11:13:31 AM
The dashboard uses a hard-coded mapping table to map between 2-ltter and 3-letter codes.
Title: Re: Help with Dashboard recognizing "Country"
Post by: Stuntflyer on February 16, 2025, 03:10:34 PM
If I don't enter the country here, it doesn't show on the list in the Dashboard.
Capture_4.JPG

Is this correct?
Capture_3.JPG


 


Title: Re: Help with Dashboard recognizing "Country"
Post by: Mario on February 16, 2025, 03:42:07 PM
The Location Shown Country/Code is used for the Dashboard.
IMatch fills this tag e.g. when you perform reverse-geocoding.

See The World Map (https://www.photools.com/help/imatch/dashboard.htm#a_locations?dl=hid-23) in the IMatch help for details about which tags are considered.

For an easy test, I've located one file in Czechia in my tiny database, and ran reverse-geocode to fill the location data.

Image2.jpg

The file shows up in the Dashboard immediately.

Image1.jpg
Title: Re: Help with Dashboard recognizing "Country"
Post by: Stuntflyer on February 16, 2025, 04:04:43 PM
Thank you. Mario. That works!
Title: Re: Help with Dashboard recognizing "Country"
Post by: Mario on February 16, 2025, 04:27:30 PM
I suggest to use IPTC Created/Shown coordinates since IMatch 2023 came out. This has good reasons.
Partially or wrong filled location metadata will cause issues in many IMatch features and in other applications.

Using reverse geocoding or filling out the relevant location data yourself when you don't want to use reverse geocoding is a good idea.
Title: Re: Help with Dashboard recognizing "Country"
Post by: Stuntflyer on February 16, 2025, 05:06:47 PM
I will have to research that since I'm not familiar on just how to do that. Perhaps a screen shot would help?
Title: Re: Help with Dashboard recognizing "Country"
Post by: Mario on February 16, 2025, 05:10:18 PM
Do what? Adding location data to images or reverse geocoding?
Switch the Metadata Panel to the "6. IPTC Location" layout to see the location created / location shown metadata available for your images. This is also where you would manually input location data, or check the results of  Reverse Geocoding (https://www.photools.com/help/imatch/tools_revgeocoding.htm?dl=hid-1).

IMatch mirrors many location tags (city, country, ...) between multiple metadata standards and XMP namespaces (yes, metadata is complicated) and working only with the IPTC location tags shown in this layout is the safest way to ensure that the location data is properly synchronized and available for all related features in IMatch.
Title: Re: Help with Dashboard recognizing "Country"
Post by: Stuntflyer on February 16, 2025, 09:02:51 PM
Everything looks great! Again, Thanks!