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.
$URL = http://www.openstreetmap.org/api/0.5/map?bbox=11.118164,46.245521,11.135742,46.326910 $res = HTTP/1.1 404 Not Found Connection: Keep-Alive Date: Fri, 29 Aug 2008 15:15:59 GMT Server: lighttpd/1.4.19 Content-Length: 345 Content-Type: text/html Client-Date: Fri, 29 Aug 2008 15:08:56 GMT Client-Peer: 3.20.128.6:88 Client-Response-Num: 1 Title: 404 - Not Found <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>404 - Not Found</title> </head> <body> <h1>404 - Not Found</h1> </body> </html>
_______________________________________________ Tilesathome mailing list [email protected] http://lists.openstreetmap.org/listinfo/tilesathome
