I want to download a map of large area (like a city) for some researches, in the .osm format. Methods in http://help.openstreetmap.org/questions/22/how-do-i-export-map-images-of-larger-areas seems useless for my problem because it can capture the small area in .osm format only. How can I do that?

asked 25 Apr '11, 14:04

crisp22140's gravatar image

crisp22140
21113
accept rate: 0%


The Export tab on the main OSM site is not the appropriate way to export large areas: it uses too many resources from the API. I also think it is limited by constraints in the API interface itself: there is a maximum area and maximum amount of data which can be downloaded through the API map call.

Therefore you will need to use the available alternatives:

  • One of the XAPI instances. These are designed for providing read-only access to very recent snapshots of OSM data. Unfortunately, they are often overwhelmed by requests. The JAXPI instance run by MapQuest is probably the best one to use: it should certainly cope with downloading a city.
  • Using an already available download, such as those of Geofabrik and Cloudmade. These cover many (but not all) countries and most regions of the world. For places which are very actively mapped there may be extracts of smaller areas. In most cases you will still want to reduce the amount of data you use. To do this you should use Osmosis to read the extract file and extract a bounding box from it (osmosis --rx file="bla.osm" --bbox left=##.## right=##.## top=##.## bottom=##.## --wx file="extracted_city.osm", where the numeric values are the lat and lon of a bounding box)
permanent link

answered 25 Apr '11, 14:34

SK53's gravatar image

SK53 ♦
21.8k44226342
accept rate: 20%

You can use QGis to download large data. Vector->OpenStreetMap-> download data

permanent link

answered 19 Dec '16, 05:47

Man's gravatar image

Man
16
accept rate: 0%

This solution is very simple. Thank you Man for your answer.

(14 Mar, 23:35) BanAnanas
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×159
×63
×10

question asked: 25 Apr '11, 14:04

question was seen: 13,010 times

last updated: 14 Mar, 23:35

powered by OSQA