tango and the missing map tiles

Rask Ingemann Lambertsen ccc94453 at vip.cybercity.dk
Sun Jul 26 03:06:06 CEST 2009

On Fri, Jul 24, 2009 at 12:14:22PM +0200, Christophe Badoit wrote:
> Le jeudi 23 juillet 2009 22:08:03, Ben Wong a écrit :

> > # Modified by Ben Wong to work with BusyBox's wget.

> I found this faster (but you need curl) :
> Only one instance of curl is executed, and it uses HTTP1.1 Keep Alive; it's slow to start, but fast once running.

   Yes, but then he might as well just install the real wget and use the
original script. The whole point of BusyBox is to avoid installing tonnes of

   Anyway, it seems that we can rewrite the original script using the real
wget such that it doesn't need awk and xargs:

$ (cd /usr/local/share/maptiles/tile.openstreetmap.org && \
find -size 0c -print | cut -c3- | \
wget -p -i - -B http://tile.openstreetmap.org/ -x -nH -U Firefox)

Downloaded: 6 files, 30K in 0.05s (662 KB/s)

   Who wants to add support for ETag, If-None-Match: and extended attributes
to wget?

Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year

More information about the community mailing list