Exporting as OpenStreetMap XML Data doesn't work

Hi, I am trying to export a map of Las Vegas. I am using this url:

http://api.openstreetmap.org/api/0.5/map?bbox=-115.4,35.9,-114.9,36.4

In firefox I get a blank page.

Using wget I get this:

wget -O vegas.osm “http://api.openstreetmap.org/api/0.5/map?bbox=-115.4,35.9,-114.9,36.4
–10:13:33-- http://api.openstreetmap.org/api/0.5/map?bbox=-115.4,35.9,-114.9,36.4
=> `vegas.osm’
Løser api.openstreetmap.org…128.40.58.202
Connecting to api.openstreetmap.org|128.40.58.202|:80… forbundet.
HTTP forespørgsel sendt, afventer svar… 400 Bad Request
10:13:42 FEJL 400: Bad Request.

$ curl -v http://api.openstreetmap.org/api/0.5/map?bbox=-115.4,35.9,-114.9,36.4
* About to connect() to api.openstreetmap.org port 80 (#0)
*   Trying 128.40.58.202... connected
* Connected to api.openstreetmap.org (128.40.58.202) port 80 (#0)
> GET /api/0.5/map?bbox=-115.4,35.9,-114.9,36.4 HTTP/1.1
> User-Agent: curl/7.16.3 (powerpc-apple-darwin8.0) libcurl/7.16.3 OpenSSL/0.9.7l zlib/1.2.3
> Host: api.openstreetmap.org
> Accept: */*
> 
< HTTP/1.1 400 Bad Request
< Content-Type: text/html; charset=utf-8
< X-Runtime: 21.79793
< Cache-Control: no-cache
< Error: You requested too many nodes (limit is 50,000). Either request a smaller area, or use planet.osm 
       ^^^^^^^^^^^^^-------------------------------------- THIS IS IMPORTANT /emj
< Content-Length: 1
< Date: Thu, 19 Jun 2008 12:42:26 GMT
< Server: lighttpd/1.4.13
< 
* Connection #0 to host api.openstreetmap.org left intact
* Closing connection #0

You need to request a smaller area or use Osmxapi, but it seems to take quite a while on that service as well… So it’s only one thing to do.

  1. download your country from one of the planet mirrors
  2. download your area in smaller sections