tango and the missing map tiles
Joseph Booker
joe at neoturbine.net
Thu Jun 25 02:16:05 CEST 2009
On Thu, 25 Jun 2009 00:30:42 +0100
Tim Abell <tim at timwise.co.uk> wrote:
> Hi all,
>
> I've found that if tango doesn't have a working net connection
> available when you pan around it will generate empty files for the
> map images and then never attempt to re-download them leaving nasty
> gaps in your coverage.
>
> Here's a quick n dirty script that removes all the empty files so
> that tango will fetch them next time.
>
>
> root at om-gta02:~# cat cleanmapcache.sh
>
> #!/bin/sh -v
> find Maps/OSM/ -size 0 -type f
> find Maps/OSM/ -size 0 -type f -exec rm {} \;
>
>
> The first line displays the empty tile list, the second deletes them.
How about this: (works if you have coreutils)
alias clean-map="find /path/Maps/OSM/ -size 0 -type f -exec rm -v {} \;"
--
Joseph Booker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://lists.openmoko.org/pipermail/community/attachments/20090624/9e6960b0/attachment.pgp
More information about the community
mailing list