Re: tango and the missing map tiles

2009-07-27 Thread Rask Ingemann Lambertsen
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) : [cut] Only one

Re: tango and the missing map tiles

2009-07-24 Thread Christophe Badoit
Le jeudi 23 juillet 2009 22:08:03, Ben Wong a écrit : Oops, that didn't work. That's what I get for trying to cleanup the error checking before posting. This version actually works. #!/bin/sh # Look for OpenStreetMap tiles that are size zero (TangoGPS has a bug) # and download the correct

Re: tango and the missing map tiles

2009-07-23 Thread Ben Wong
Finally got around to trying Rask's one-liner. Thanks for posting it, it worked great once I modified it to work with BusyBox's version of wget. I also had to fake the UserAgent; apparently openstreetmaps.org is no longer allowing wget. I've appended my modifications, which should work on any

Re: tango and the missing map tiles

2009-07-23 Thread Ben Wong
Oops, that didn't work. That's what I get for trying to cleanup the error checking before posting. This version actually works. #!/bin/sh # Look for OpenStreetMap tiles that are size zero (TangoGPS has a bug) # and download the correct tile. Based on a one-line script by # Rask Ingemann

Re: tango and the missing map tiles

2009-06-29 Thread Helge Hafting
Rask Ingemann Lambertsen wrote: On Thu, Jun 25, 2009 at 12:08:54PM +1200, Robin Paulson wrote: 2009/6/25 Tim Abell t...@timwise.co.uk: 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

Re: tango and the missing map tiles

2009-06-29 Thread Rask Ingemann Lambertsen
On Mon, Jun 29, 2009 at 03:23:47PM +0200, Helge Hafting wrote: Strange - the hash for an empty file will be wrong. Maybe yaouh gives up when nothing can be read from the file. In that case, consider making a script that copies some particular tile (or other png image) over any size=0 file.

Re: tango and the missing map tiles

2009-06-27 Thread Rask Ingemann Lambertsen
On Thu, Jun 25, 2009 at 10:28:11AM +0200, Carlo Minucci wrote: Rask Ingemann Lambertsen ha scritto: No, Yaouh! (version 0.5.1) doesn't update empty map tiles what??? why not? No idea, I haven't looked at the source code or straced a run to see why. are you sure? Running

Re: tango and the missing map tiles

2009-06-25 Thread Rask Ingemann Lambertsen
On Thu, Jun 25, 2009 at 12:08:54PM +1200, Robin Paulson wrote: 2009/6/25 Tim Abell t...@timwise.co.uk: 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

Re: tango and the missing map tiles

2009-06-25 Thread rhn
On Thu, 25 Jun 2009 10:17:59 +0200, Rask Ingemann Lambertsen r...@sygehus.dk wrote: On Thu, Jun 25, 2009 at 12:08:54PM +1200, Robin Paulson wrote: 2009/6/25 Tim Abell t...@timwise.co.uk: I've found that if tango doesn't have a working net connection available when you pan around it will

Re: tango and the missing map tiles

2009-06-25 Thread Carlo Minucci
Rask Ingemann Lambertsen ha scritto: will yaouh perform a similar task? i assume even though they are blank, they will have a date and time, thus when yaouh is run, it will see they are old/the hash is wrong, and replace them? No, Yaouh! (version 0.5.1) doesn't update empty map

tango and the missing map tiles

2009-06-24 Thread Tim Abell
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

Re: tango and the missing map tiles

2009-06-24 Thread Robin Paulson
2009/6/25 Tim Abell t...@timwise.co.uk: 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

Re: tango and the missing map tiles

2009-06-24 Thread Joseph Booker
On Thu, 25 Jun 2009 00:30:42 +0100 Tim Abell t...@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