Re: [josm-dev] Does Caching WMS work?

2010-07-08 Thread Dirk Stöcker

On Wed, 7 Jul 2010, Alan Mintz wrote:

I'm working with the USGS HRO WMS datasets that do not ever get updated (they 
are apparently from one particular satellite task), so I'd expect that I 
should be able to cache every tile for the areas I'm working on and shouldn't 
have to hit the servers at all (given appropriate maxsize and expire 
settings), right?


To get a caching over sessions, you need to use the bookmark function to 
bookmark a specific zoomlevel. Otherwise the cache will be invalidated 
each time you open a new WMS layer.


Ciao
--
http://www.dstoecker.eu/ (PGP key available)


___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] Does Caching WMS work?

2010-07-03 Thread M∡rtin Koppenhoefer
2010/7/2 Dirk Stöcker openstreet...@dstoecker.de:
 On Fri, 2 Jul 2010, M∡rtin Koppenhoefer wrote:

 I have the idea that caching actually doesn't work, at least my
 cache-Folder is completely empty (but I have pictures on the screen
 right now).
 Can anyone confirm that it works? What is the meaning of the
 caching-variable in prefs.?

 For me it works as expected. Probably you turned it off?


Maybe it requires a restart of JOSM after changes in the config are made?

 Which ones exactly? At least one allows to set the size of the cache (in
 bytes/numbers). Which OS?

OS: Ubuntu 10.04
Is there any documentation on the setting variables online?
(Cache-expire, is this seconds?) The numbers for size are in bytes? I
couldn't find it in the wiki.

cheers,
Martin

___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] Does Caching WMS work?

2010-07-03 Thread M∡rtin Koppenhoefer
2010/7/3 Dirk Stöcker openstreet...@dstoecker.de:
 On Sat, 3 Jul 2010, M∡rtin Koppenhoefer wrote:

 Which ones exactly? At least one allows to set the size of the cache (in
 bytes/numbers). Which OS?

 OS: Ubuntu 10.04


I had no cache directory inserted and therefore thought to find it in
home/user/.josm/plugins/wms/cache (this was written as tooltip for the
standard)
but this directory (it existed) was empty.

 Is there any documentation on the setting variables online?
 (Cache-expire, is this seconds?) The numbers for size are in bytes? I
 couldn't find it in the wiki.

 Like all hidden values they usually are not documented.


That's what I guessed. Maybe someone can explain this:
1. Am I right asuming that cache expiry is about time? If I put 0 or
-1 does it mean never expire? Or do I have to put something else? are
the numbers milliseconds, seconds or sth else?

2. is the number for size in bytes?

3. What happens if I change the zoomlevel? Will it delete the whole cache?

cheers,
Martin

___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] Does Caching WMS work?

2010-07-02 Thread Dirk Stöcker

On Fri, 2 Jul 2010, M∡rtin Koppenhoefer wrote:


I have the idea that caching actually doesn't work, at least my
cache-Folder is completely empty (but I have pictures on the screen
right now).
Can anyone confirm that it works? What is the meaning of the
caching-variable in prefs.?


For me it works as expected. Probably you turned it off?

Which ones exactly? At least one allows to set the size of the cache (in 
bytes/numbers). Which OS?


Ciao
--
http://www.dstoecker.eu/ (PGP key available)___
josm-dev mailing list
josm-...@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev