Hi, I am trying get map from openstreetmaps, but having problems. (debian system) $ wget -O patagonie.osm "http://api.openstreetmap.org/api/0.6/map?bbox=-75.64,-56.17,-64.70,-50.00" --2011-10-20 23:07:43-- http://api.openstreetmap.org/api/0.6/map?bbox=-75.64,-56.17,-64.70,-50.00 Resolving api.openstreetmap.org (api.openstreetmap.org)... 193.63.75.100, 193.63.75.99 Connecting to api.openstreetmap.org (api.openstreetmap.org)|193.63.75.100|:80... connected. HTTP request sent, awaiting response... 400 Bad Request 2011-10-20 23:07:43 ERROR 400: Bad Request. Is this data too big? regards mira asked 20 Oct '11, 22:21 miramikes |
Yes, it's apparently too big. When I open http://api.openstreetmap.org/api/0.6/map?bbox=-75.64,-56.17,-64.70,-50.00 in Firefox I get: The maximum bbox size is 0.25, and your request was too large. Either request a smaller area, or use planet.osm You will see the same error message if you add the answered 20 Oct '11, 22:36 gnurk Frederik Ramm ♦ Thank you for clarifying
(21 Oct '11, 00:56)
miramikes
|
The main OpenStreetMap API is provided for editing the map, not for downloading large extracts for other projects. So it limits how large an area you can download. See the API usage policy. If you want a larger extract, eg a whole country, then it is probably best to use a Planet extract. These are available from a number of different providers, covering different parts of the world, see Planet.osm extracts. Geofabrik and Cloudmade provide extracts for Argentina and Chile, or for the whole of South America, which would cover the area of your bounding box request. answered 21 Oct '11, 00:01 Vclaw Ok, thank you.
(21 Oct '11, 00:55)
miramikes
|