Mapping data soruce lacks granularity #4054

Closed
opened 2026-02-05 09:39:30 +03:00 by OVERLORD · 7 comments
Owner

Originally created by @ScaredyCat on GitHub (Aug 12, 2024).

The bug

Imported images which have gps data embedded are shown on maps at the correct location however because the data isn't fine grained enough or lacks location names so the text shows the photos as being taken in a different place.

Ironically, mine show up as being in a town 1/10 the size of the one I live in, which isn't even listed in the locations search box.

The OS that Immich Server is running on

Proxmox -> Docker -> Linux 506c1393a36b 5.4.0-131-generic #147-Ubuntu SMP Fri Oct 14 17:07:22 UTC 2022 x86_64 GNU/Linux

Version of Immich Server

v1.111.0

Version of Immich Mobile App

v1.111.0 build 152

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

Irrelevant

Your .env content

Irrelevant

Reproduction steps

Import an image with gps location data - shows wrong town name

Search for correct town name - not available

Relevant log output

No response

Additional information

Map data source lacks detail when searching. Some locations don't appear in the list.

badmap

Originally created by @ScaredyCat on GitHub (Aug 12, 2024). ### The bug Imported images which have gps data embedded are shown on maps at the correct location however because the data isn't fine grained enough or lacks location names so the text shows the photos as being taken in a different place. Ironically, mine show up as being in a town 1/10 the size of the one I live in, which isn't even listed in the locations search box. ### The OS that Immich Server is running on Proxmox -> Docker -> Linux 506c1393a36b 5.4.0-131-generic #147-Ubuntu SMP Fri Oct 14 17:07:22 UTC 2022 x86_64 GNU/Linux ### Version of Immich Server v1.111.0 ### Version of Immich Mobile App v1.111.0 build 152 ### Platform with the issue - [X] Server - [ ] Web - [ ] Mobile ### Your docker-compose.yml content ```YAML Irrelevant ``` ### Your .env content ```Shell Irrelevant ``` ### Reproduction steps ```bash Import an image with gps location data - shows wrong town name Search for correct town name - not available ``` ### Relevant log output _No response_ ### Additional information Map data source lacks detail when searching. Some locations don't appear in the list. ![badmap](https://github.com/user-attachments/assets/2d34b9ae-4a65-4a69-91c8-db7cbf36f8c9)
Author
Owner

@bo0tzz commented on GitHub (Aug 12, 2024):

#10850

@bo0tzz commented on GitHub (Aug 12, 2024): #10850
Author
Owner

@zackpollard commented on GitHub (Aug 12, 2024):

Sorry, was looking at this, on the map it looks like this is in the centre of Eye but is incorrectly identified which I wouldn't expect. Could you send the exact coordinates for this photo to me and I will check with my local data what this should return?

@zackpollard commented on GitHub (Aug 12, 2024): Sorry, was looking at this, on the map it looks like this is in the centre of Eye but is incorrectly identified which I wouldn't expect. Could you send the exact coordinates for this photo to me and I will check with my local data what this should return?
Author
Owner

@zackpollard commented on GitHub (Aug 12, 2024):

Turns out I was looking at Eye in Peterborough originally. The problem is that the dataset we use, geonames, doesn't have a population number for Eye, but it does for Occold. We only include places that have a population > 500 to reduce the amount of data we ingest. You can go and fix this yourself by getting a source of information for the population (probably wikipedia) and adding that into geonames for eye. Here are links to the records for Occold and Eye. Once you've done this, it will be shipped with the next version of immich 🙂

https://www.geonames.org/2641102/occold.html
https://www.geonames.org/2649789/eye.html

Wikipedia suggests a population of 2154 people (in 2011): https://en.wikipedia.org/wiki/Eye,_Suffolk
There's an updated number from 2021 here: https://www.citypopulation.de/en/uk/eastofengland/suffolk/E63003106__eye/

@zackpollard commented on GitHub (Aug 12, 2024): Turns out I was looking at Eye in Peterborough originally. The problem is that the dataset we use, geonames, doesn't have a population number for Eye, but it does for Occold. We only include places that have a population > 500 to reduce the amount of data we ingest. You can go and fix this yourself by getting a source of information for the population (probably wikipedia) and adding that into geonames for eye. Here are links to the records for Occold and Eye. Once you've done this, it will be shipped with the next version of immich :slightly_smiling_face: https://www.geonames.org/2641102/occold.html https://www.geonames.org/2649789/eye.html Wikipedia suggests a population of 2154 people (in 2011): https://en.wikipedia.org/wiki/Eye,_Suffolk There's an updated number from 2021 here: https://www.citypopulation.de/en/uk/eastofengland/suffolk/E63003106__eye/
Author
Owner

@ScaredyCat commented on GitHub (Aug 12, 2024):

Ok, that's great will do that. Thanks.

@ScaredyCat commented on GitHub (Aug 12, 2024): Ok, that's great will do that. Thanks.
Author
Owner

@ScaredyCat commented on GitHub (Aug 12, 2024):

Updated info on Geonames. Waiting for next release :)

@ScaredyCat commented on GitHub (Aug 12, 2024): Updated info on Geonames. Waiting for next release :)
Author
Owner

@kvalev commented on GitHub (Sep 2, 2024):

I will (ab)use this issue, as I have a very similar problem with another place. Thankfully it has more than 500 population, so I have updated it in Geonames in good conscience. I understand that Geonames does a new "release" about once per day, but I dont know how and how often the cities500.txt makes it to immich. Does it get pulled automatically or does every immich release include the latest version at the time?

@kvalev commented on GitHub (Sep 2, 2024): I will (ab)use this issue, as I have a very similar problem with another place. Thankfully it has more than 500 population, so I have updated it in Geonames in good conscience. I understand that Geonames does a new "release" about once per day, but I dont know how and how often the `cities500.txt` makes it to immich. Does it get pulled automatically or does every immich release include the latest version at the time?
Author
Owner

@zackpollard commented on GitHub (Sep 2, 2024):

I will (ab)use this issue, as I have a very similar problem with another place. Thankfully it has more than 500 population, so I have updated it in Geonames in good conscience. I understand that Geonames does a new "release" about once per day, but I dont know how and how often the cities500.txt makes it to immich. Does it get pulled automatically or does every immich release include the latest version at the time?

We pull new data before each release and it is bundled with the deployment 🙂

@zackpollard commented on GitHub (Sep 2, 2024): > I will (ab)use this issue, as I have a very similar problem with another place. Thankfully it has more than 500 population, so I have updated it in Geonames in good conscience. I understand that Geonames does a new "release" about once per day, but I dont know how and how often the `cities500.txt` makes it to immich. Does it get pulled automatically or does every immich release include the latest version at the time? We pull new data before each release and it is bundled with the deployment 🙂
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#4054