[Tilesathome] Installing tiles at home: Download doesn't work

Juergen Buchner juebuchner at googlemail.com
Sun Sep 2 14:07:21 BST 2007


Hello,

I have some trouble installing tiles at home. The download of the map
data seems not to work. The output of the program is:

C:\tilesAtHome>perl tilesGen.pl xy 2151 1387
- Using working directory c:\temp\
- Inkscape version 0.45.1
- xmlstarlet version 1.0.1
- zip is present
- pngcrush version 1.6.4
- Uploading with username "JuergenB"
- Configured Layer: default
- Configured Layer: maplint
This is version 4394 (Kingston) of tilesgen running on MSWin32
[#1   0% jobinit] Doing tileset 2151,1387 (area around 50.092316,9.096680)
[#1   0% Preproc] Downloading: Map data to data-3356-1.osm...

Then the program hangs. I tried to retrieve the map data by firefox,
that works. I wrote a little test program:
-----------
use LWP::UserAgent;
use strict;

sub DownloadFile
{
    my ($URL, $File, $UseExisting) = @_;

    my $ua = LWP::UserAgent->new(keep_alive => 1, timeout => 1800);
    $ua->agent("tilesAtHome");
    $ua->env_proxy();

    $ua->mirror($URL, $File);

}

DownloadFile("http://www.t-online.de/", "test.html");
-----------

This works for the URL http://www.t-online.de/, but when I replace it
by http://www.openstreetmap.org/api/0.4/map?bbox=9.008789,50.054537,9.184570,50.130095
it hangs.

Any idea what's wrong?

Kind regards

Jürgen




More information about the Tilesathome mailing list