
ExifTool's generated city name is a database lookup from coordinates, not verification of the venue or municipality where a photograph was taken. If a nearby city appears unexpectedly, inspect the candidate set and coverage before changing correct GPS values.
Generate a read-only place report
For a photograph whose stored coordinates you are authorized to inspect, use:
exiftool -api geolocation "-geolocation*" sample.jpg
The Geolocation feature documentation distinguishes generated read-time values from the separate Geolocate write operation. This read does not commit the returned city as embedded metadata.
Keep the coordinates and generated city together in your notes. The label describes the database result; it is not independent evidence that the camera stood inside a legal boundary.
Ask which candidates were available
The documented nearby-city query has this form:
exiftool -api geolocation="LAT,LON,num=10" -a -g3
Replace LAT,LON with signed decimal coordinates. The example requests nearby database candidates; it does not inspect a photograph by itself.
Compare the expected locality with the returned candidates and their population or feature information. A small place may be absent from the installed database. An unexpected result can therefore reflect the available place set, rather than a wrong longitude.
Do not increase or decrease filters merely until a favorite city appears. Explain why a population threshold or excluded feature type fits the labeling task.
Separate correction from editorial naming
Imagine a photograph taken outside a small village near a larger town. The correct coordinate may generate the larger town because of the database's contents. Moving the GPS pin to force the village name would falsify the more precise source information.
If an approved editorial location label is needed, establish it independently and document the decision. The generated result can be retained as a lookup observation without being adopted as the final caption.
If the coordinate itself is suspicious, investigate tracklog and capture-time matching first. Reverse lookup cannot repair an incorrectly geotagged photograph by choosing a more attractive city name.
Write only after deciding what the label means
The documentation provides a distinct Geolocate write route. Before using it, identify the destination fields and the authoritative source for the label. A read-time result appearing in terminal output is not evidence that those destination fields already exist.
The proposed acceptance record contains the unchanged GPS coordinates, lookup settings, relevant candidate and editorial decision. No database query or application test is reported here.
Before publication, apply the location-metadata sharing review. A correct place label can still reveal information the recipient was never meant to receive.
Related tasks
- Lightroom GPX Auto-Tagging Misses Photos: Check the Tracklog Time Offset
- How Do I Check a Photo for Location Metadata Before Sharing It?
Sources and scope
- ExifTool Geolocation Feature: The included city database generates place information from coordinates. Read-time generated values differ from writing Geolocate. Nearby-city listing, population/feature filters and database coverage explain unexpected city results.
Official-documentation synthesis researched on 23 October 2026 (Asia/Shanghai). Public search returned readable official deep-page body text; direct ExifTool application and PDF/XMP reference fetches encountered HTTP 403. No command, image edit, GPS matching, protocol integration or filesystem-attribute test was executed. All sample paths, dates, values and acceptance exercises are illustrative. Source-defined boundaries and installed-version/file-format limitations remain part of the procedure.
Prepared by Imagild Editorial, the company editorial team responsible for these guides. AI assisted research and drafting. This is documentation-based guidance with proposed examples, not a claim of hands-on testing or an independent product review. Report a correction.
Cover: Mariya Eskina / Pexels, Pexels License. This is an illustrative source photograph, not an application screenshot or a generated test result.