[OSM-dev] patch: generate_tiles.py

Artem Pavlenko artem.mapnik at googlemail.com
Thu Jan 3 18:58:44 GMT 2008


On 3 Jan 2008, at 18:46, Armijn Hemel wrote:

> hi,
>
> attached a patch which should provide some optimizations for
> generate_tiles.py. Basically, it moves the checks if directories exist
> per zoomlevel outside the actual tile rendering loop. This will only
> check once per zoomlevel if the directory for that zoomlevel exists,
> instead of up to several million times (depending on how many tiles  
> you
> generate of course :-P)
>
> armijn

Applied in r6238 (but not tested) Thanks!
Artem

>
> -- 
> ---------------------------------------------------------------------- 
> -----
>  armijn at uulug.nl | http://www.uulug.nl/ | UULug: Utrecht Linux  
> Users Group
> ---------------------------------------------------------------------- 
> -----<mapnik.patch>_______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev





More information about the dev mailing list