How is place name in photo generated?



I want to create a Python script that will extract photos from the photos library by location. The latitude longitude data is stored in the Exif/metadata, but how is the ‘place name’ generated? For example, I want all the photos associated with ‘City_X’. I suspect this is happening under the hood somewhere and may not be searchable externally.

iPhone 17 Pro Max, iOS 26

Posted on Sep 3, 2026 6:27 AM

Reply
1 reply

Sep 3, 2026 6:45 AM in response to Joe_56

It is indeed an “under the hood” function — possibly tied to Maps — and not saved as part of the image file AFAIK.


A few instances of very odd behavior have been reported in this forum (e.g. the reported location being FAR from the actual — and accurate — geo coordinates in the image file) …


… including some analysis by a well-regarded member of this community …


… but the “how” and “why” of it’s behavior (or mis-behavior) was never revealed or documented to the best of my own recollections.


Not a very helpful answer given your intentions I’m afraid.


Sorry. 😕

How is place name in photo generated?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.