Locus Map - forum

Support => Wishlist => Implemented => Topic started by: yrtimiD on November 29, 2010, 22:19:32

Title: Purge cache
Post by: yrtimiD on November 29, 2010, 22:19:32
Hi!
Can you implement simple "purge cache" feature? It can purge whole cache or only viewed area or only specified map cache.
OSM is always changing, and needs constant updates.

Thanks.
Title: Re: Purge cache
Post by: Menion on November 30, 2010, 06:48:54
Hi,
  currently all maps are cached by little stupid mechanism into one directory on card. I want to cache them separately into database so when this will be done, I'll keep in mind your request and probably will do it. Currently it's not easy to create.
Title: Re: Purge cache
Post by: yrtimiD on November 30, 2010, 08:08:10
Yep, currently I just delete whole maps directory from time to time. Can you implement such feature for start? :)
Title: Re: Purge cache
Post by: Ronin9 on January 28, 2011, 16:16:44
That would be a nice enhancement. It could be just like downloading maps, but in reverse: after selecting the area, Locus, gives you the list of tiles per zoom level in that area, and you select the zoom levels you want to delete.

For example, I have just downloaded from Google the cities of NY and Miami (because I am going there soon) in great detail, plus BRasil and some areas in it in less detail (bacause I live in Brasil and travel a lot :) ). I wished I was able to delete only the portions for NY and Miami (about 150MB each) , without having to deleted the whole Google file (which has some 150MB relating to Brasil and other stuff).

Rodrigo
Title: Re: Purge cache
Post by: Menion on January 30, 2011, 18:43:45
I already created purging cache when online cache file reach 2GB size. This is now working. But clearing cache should take up to 2 hours so it's not recommended!
I'll do some access to this tool from "Tools menu" ... maybe. But recommended way, how to handle maps on various places is to create separated maps for each place! I think, that this is clear...