This object is in archive! 

Discard only tiles when you have a replacement.

rvheddeg shared this idea 11 years ago
Completed

I like the option of maps that have an expiration time, but could you discard a tile only when you have a new one please? I prefer an outdated tile above no tile at all. Thank you,


Rvheddeg

Replies (6)

photo
0

good idea, +1

photo
0

hmm that`s good point indeed. What by you should be better at all? because keeping old file in case of no internet connection may be confusing for people that expect new data (I know that there should be some settings for this, but I prefer not to use another confusing settings)

photo
0

Hi Menion,


I`m sorry, but could it be that there has gone something wrong with your answer?


For what I understand, you don`t like to add another setting for this, because it could be confusing.


I`m not convinced. I think that you should set this option in the same window where we could change the expiration time.


I`m regularly in situations where I have no internet connection and then I discover that my tiles are expired...

photo
1

Hi Menion,


I don`t think it would be confusing for people that expect new data - if I expect new data for a special area of my map, I`d update that explicitly (by setting expiration time to 0 and moving to that area of the map to be updated). I`d usually have internet connection in that situation.


The use case rvheddeg describes also happened to me several times:


- I use OSM hike&bike map for outdoor activities, to keep the map more ore less up to date, I use an expiration time of e.g. 1440h. I`m usually not interested in one special update of the map, just want to keep it quite up to date.


- If a tile is expired, Locus tries to get a new one - according to murphy`s law this happenes always out in the field without internet connection. In that situation I`d rather see an outdated tile (I even don`t know in that situation that it`s outdated) than a connection error.


- If there`s no tile at all and no internet connection, I`d like to see a scaled tile from a different zool level, but that`s a different thread... ;-)


So the optimal behaviour would be:


- first, display the existing tile from the cache, no matter wether it is outdated or not.


- if it`s outdated, try to download a new one an replace it on success.


- if there is no tile of the required zool level, display scaled tiles from a different zoom level, download the tile of the correct zool level and replace it on success.


Just dreaming... ;-)


I wouldn`t add an additional setting for this.

photo
0

Mambofive,


I couldn`t agree more!

photo
0

quite a hard job. Agree mambo with nice description


task done ... ;)

Replies have been locked on this page!