Question related to cities included in the geolocation database

Started by Gabe, March 17, 2025, 01:57:28 AM

Previous topic - Next topic

Gabe

Hello there,

First off, thanks for the amazing tool. I have been tinkering with it for the past couple of weeks, as my wife bought a second hand E-P1 here in Japan, and I am in charge of "handling" the files. :D

I am currently applying geolocation data to our photos, and the process is going smoothly, bar the occasional brain-fart on my part. Namely, I have just stumbled on a database-related bump, and I'd like to figure out if I am missing something.

The location/town I want to use to add the metadata is called Kokonoe. As far as I can tell, it's not in the database. I have tried to find it, both directly by name, and by listing all the cities using "-listgeo".
I did find it in the GeoNames online database, though, as Kokonoe Machi. As far as I can tell, it matches the conditions to be included in the ExifTool database, but I assume this is not the case.

This is not the end of the world, I can pick another town nearby. I am mostly curious about what I am failing to understand about the setup.

For context, I am using version 13.25 installed via Homebrew on Ubuntu 24.04.

Cheers!

StarGeek

I'm heading to bed, so I can't look at it in detail, but try this

You might try the Alternate Database which is larger and includes places with a 500+ population, rather than the 2,000+ population database that is normally included.

It might be worth looking over the rest of the Geolocation page as well.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

Phil Harvey

This feature isn't in the database because it is type "ADM3".  (See here for a full list of feature codes.)  My understanding is that ADM3 doesn't represent a city, but please tell me if doesn't match your experience.  If it were a city, I think it should be PPLA3 or something like this.  The feature codes included in the ExifTool Geolocation database are listed in the API GeolocFeature option documentation.

Also note that you can add custom Geolocation entries in your config file, which is what I do myself for things like this.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Gabe

Hi Phil, StarGeek,

As far as I can tell, Kokonoe is a town. So either the database is wrong, or things in Japan are not as straightforward as I think. My very limited understanding of Japanese political geography, doesn't allow me to really take a stand here.

Anyway, I think I will just pick another location, or go the route of the custom entry in the config file. At least now I understand why it's not being picked up.

Cheerio!