Replies: 9 comments 8 replies
-
Hi! Thanks for rising this issue (tbc I'm not an Immich core contributor). But I also think this is an issue. |
Beta Was this translation helpful? Give feedback.
-
I haven't looked too deeply into it yet, but https://protomaps.com/ could be a fairly good fit for this application. The API is more permissive for non commercial use, and you could even host the files on a central server only for Immich, and then add caching on top of that so every Immich server keeps its local copy of the map data it needs. That should be fairly cost effective I think. |
Beta Was this translation helpful? Give feedback.
-
Is there any caching we can add on top of the default browser caching? And are there other providers than the OSM tile servers that we could use? I agree that we should not use a public service against their terms like this. If there is no alternative public service, what are the other options? Would we need to ship a tileserver with Immich, or run our own somewhere under immich.app? @alextran1502 to make up for this a little bit, what do you think about making a donation to OSM using some of the funds that people have donated to Immich? |
Beta Was this translation helpful? Give feedback.
-
So, any updates about this? It's really not cool to abuse a free community resource like that. |
Beta Was this translation helpful? Give feedback.
-
Well, I think I will be working on a MR to :
|
Beta Was this translation helpful? Give feedback.
-
We've reached out to the creator of Protomaps to explore that option. |
Beta Was this translation helpful? Give feedback.
-
Update: While protomaps isn't an option (unless we set it up ourselves), we do now have an alternative tileserver to use. However, this involves changing to a vector tile format which means we need to move the map implementation we use from leaflet to maplibre, which will take a bit more time. |
Beta Was this translation helpful? Give feedback.
-
#4294 will move Immich to using Maplibre with another default tileserver. |
Beta Was this translation helpful? Give feedback.
-
Closed by #4294 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
OSM tile servers are primarily meant for map editors and are funded by donations to the OSM foundation.
They are not for use in production applications, as described in their usage policy.
As this project keeps growing (quickly), more and more users will be hitting the OSM tile servers which is not a nice thing to do :(
Immich should use a different source for its map tiles, and at least implement some caching to reduce requests to the tile servers as soon as possible (I couldn't find any caching at first glance at least).
Beta Was this translation helpful? Give feedback.
All reactions