[Tilesathome] 404 From DownloadFile()
Jochen Pawletta
jochen at hin.de
Fri Aug 29 16:38:07 BST 2008
Am Friday, 2008-08-29 um 10:19:16 -0500 schrieb Ian Dees:
Hi
> I'm getting a bunch of 404's when trying to download OSM data from the API.
> I'm printing out the response and headers along with the URL in
> DownloadFile() in libtah.pm below. When I use wget to fetch the data, it
> downloads the file just fine.
Same here:
$ perl tilesGen.pl
- Using working directory /home/tathome/tilesAtHome/tmp
- Using process log file tah-process.log
- Pngcrush version 1.6.4
- pngnq version 0.5
* Please upgrade to inkscape 0.45.1 due to security problems with your inkscape version:
- Inkscape version 0.45
- rendering using or/p
- Using http://tah.openstreetmap.org/Request/take/ for Requests
downloaded 10 bytes
This is version 10303 (Saurimo) of tilesgen running on linux, ID: 47574
[#0 0% ] Retrieving next job...
Request string from server: OK|5|2094|1598|12|tile,maplint,captionless|1219988325|751967
[#0 0% ] Got work from the server: tile,maplint,captionless (12,2094,1598)...
[#1 0% Download] Tileset (12,2094,1598) around 36.70,4.09
[#1 0% Download] Downloading: Map data for tile,maplint,captionless...
Download
http://www.openstreetmap.org/api/0.5/map?bbox=3.999023,36.656440,4.174805,36.750863
failed with: 404 Not Found
[#1 0% Download] Trying smaller slices
[#1 0% Download] Downloading: Map data (slice 1 of 10)...
Download
http://www.openstreetmap.org/api/0.5/map?bbox=3.999023,36.656440,4.016602,36.750863
failed with: 404 Not Found
[#1 0% Download] No data here (sliced)
[#1 0% Download] Putting job (12,2094,1598) back due to 'No data here (sliced)'
Waiting before new tile is requested: sleeping 15 seconds
Jochen
--
ZX81 - C64 - Amiga - x86-Linux - iMac (OS X)
More information about the Tilesathome
mailing list