Re: [Viking-devel] tile age 30s ???

2011-05-24 Thread Guilhem Bonnefille
2011/5/11 Greg Troxel g...@ir.bbn.com:

 The default for tile age seems to be 30s.  This seems way too short.
 While someone actively mapping in OSM might want to reload, it seems
 like map tiles are relatively static over that kind of timescale.  I
 have set the tile age to 604800s (1 week).    It seems rude to OSM to
 recheck tiles more often than once a day, or maybe once an hour.

I've just found the Tile usage policy of OSM. They request
downloaders use HTTP Expiry Header or 1 week age per default. We have
to change the value in Viking's code.

http://wiki.openstreetmap.org/wiki/Tile_usage_policy

-- 
Guilhem BONNEFILLE
-=- JID: gu...@im.apinc.org MSN: guilhem_bonnefi...@hotmail.com
-=- mailto:guilhem.bonnefi...@gmail.com
-=- http://nathguil.free.fr/

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Viking-devel mailing list
Viking-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viking-devel
Viking home page: http://viking.sf.net/


Re: [Viking-devel] tile age 30s ???

2011-05-24 Thread Greg Troxel

  I've just found the Tile usage policy of OSM. They request
  downloaders use HTTP Expiry Header or 1 week age per default. We have
  to change the value in Viking's code.

  http://wiki.openstreetmap.org/wiki/Tile_usage_policy

OK, so in order to be good OSM citizens

  change the units to days (I don't see why not)

  set the default value to 7 (days) (definitely)

  only allow 7 and up for a config (probably)

  people who want to reload things can use 'reload all onscreen tiles'


pgp60Ko8uU24b.pgp
Description: PGP signature
--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1___
Viking-devel mailing list
Viking-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viking-devel
Viking home page: http://viking.sf.net/