[OSM-dev] problem with the drawing of roads on the slippy map

SteveC steve at asklater.com
Thu Mar 2 16:08:35 GMT 2006


the codes open, everyone has dev accounts, feel free to work on it :-)

* @ 02/03/06 03:55:59 PM erjohan at gmail.com wrote:
> On 3/2/06, Tom Carden <tom at tom-carden.co.uk> wrote:
> > On 3/2/06, SteveC <steve at asklater.com> wrote:
> > > yes, see previous threads about this. its a feature to stop db
> > > thrashing.
> > >
> > > I have some map generalisation stuff in the pipeline so different things
> > > are rendered at different resaolutions
> > >
> >
> > Why not just cache zoomed-out tiles for longer?  It was really nice to
> > be able to see outside the M25 in London,
> 
> IRC the tiles are named by the bounding box, that would make the squid
> rule very complex. Not even sure squid can do perl scripts as cache
> rules.
> 
> e.g.
> 
> /bbx=([0-9.]+),([0-9.]+),([0-9.]+),([0-9.]+) /;
> cache_one_hour if($1-$2 < 10);
> cache_two_hour if($1-$2 < 20);
> cache_three_hour if($1-$2 < 30);
> 
> 
> --
> /Erik
> 
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev

have fun,

SteveC steve at asklater.com http://www.asklater.com/steve/




More information about the dev mailing list