[josm-dev] caching
colliar
colliar4ever at aol.com
Mon Dec 9 21:00:32 UTC 2013
Hey
Have to take a look, but I am also burdend as I was using Maps4BW quite
a lot lately and your numbers below are low compared to mine as I did
not find to tell JOSM to not automatically download and also not to
prevent extra downloads after zooming in/out.
cheers colliar
Am 06.12.2013 13:33, schrieb Martin Koppenhoefer:
> I was recently looking for the cache settings (WMS) because of a
> discussion on the national ML, and have found this in the wiki:
> ###
> http://josm.openstreetmap.de/wiki/Help/Menu/Imagery
>
> To reuse the tiles over JOSM sessions without having the reload them from
> the server, right click on the WMS layer and set a bookmark. During the
> next session, select the new WMS created by the bookmark in the WMS memu.
> Additionally, you may want to modify the following values in the
> preferences :
>
> - cache.wmsplugin.expire -1 : this is a time in second until the tiles
> are invalidated. -1 means "never flush".
> - cache.wmsplugin.maxsize 999999999 : maximal size of the cache
> (probably in MB)
>
> Even though you have to download an area "manually", you can work offline
> using this technique.
> ###
>
>
> now looking into my advanced preferences I don't have these keys (visible),
> but there are a bunch of others:
>
> cache.bing.attribution.xml = 1386019732
>
> cache.capabilities-131030235 = 1386019732
> cache.folder = <unset>
> cache.geoimage-thumbnails.expire = -1
> cache.geoimage-thumbnails.maxsize = 120
> cache.motd.html = 1386331843
> cache.motd.html.java = 1.7.0_45
> cache.motd.html.lang = En:
> cache.motd.html.version = 6442
>
> and also these:
> imagery.tms.tilecache_path =
> /var/folders/lr/yk1xc0j175vcx5bm0r1jg7g00000gq/T/JMapViewerTiles_martin
>
> I have also found that I have apparently a lot of cached data on disk :
> $ du -hc ~/.josm/cache/wms/
> 49M /Users/martin/.josm/cache/wms//1/epsg4326
> 2,7G /Users/martin/.josm/cache/wms//1/mercator
> 2,7G /Users/martin/.josm/cache/wms//1
> 90M /Users/martin/.josm/cache/wms//2/mercator
> 90M /Users/martin/.josm/cache/wms//2
> 880K /Users/martin/.josm/cache/wms//3/mercator
> 900K /Users/martin/.josm/cache/wms//3
> 4,1M /Users/martin/.josm/cache/wms//4/mercator
> 4,1M /Users/martin/.josm/cache/wms//4
> 4,0K /Users/martin/.josm/cache/wms//5
> 2,8G /Users/martin/.josm/cache/wms/
> 2,8G total
>
>
> Now my questions: have there been changes to the caching mechanism (WMS and
> TMS). Do I have to set something in order to enable caching? And finally:
> is there an advanced setting to disable "auto change resolution" for wms
> layers?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openstreetmap.org/pipermail/josm-dev/attachments/20131209/ef190355/attachment.pgp>
More information about the josm-dev
mailing list