Why not ask your question on the new OpenStreetMap Community Forum?


Is it possible just to download certain layers from a map? for example, if I required a network file with Motorways, Trunk Roads, Secondary Roads, and Primary roads as the links, and intersections as the nodes, is it possible to download this data without all of the other information? How would I do this?

Thanks in advance.

asked 05 Feb '12, 19:23

schaggs's gravatar image

accept rate: 0%


How much of an area do you want the data for? If a small area, Gnonthgol's approach may be suitable, if not, Frederik Ramm's.

(06 Feb '12, 11:08) SomeoneElse ♦

Take a look at Xapi.

permanent link

answered 05 Feb '12, 19:47

Gnonthgol's gravatar image

Gnonthgol ♦
accept rate: 16%

No, OpenStreetMap doesn't do that kind of data processing. You will have to download the full data set and then use a tool like osmosis or osmfilter (for both, see wiki.openstreetmap.org) to extract the bits you want. On downloads.cloudmade.com they also have pre-produced "highway" extracts for various countries/areas but these will include lower-level roads as well.

permanent link

answered 05 Feb '12, 19:48

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
accept rate: 23%

Your answer
toggle preview

Follow this question

By Email:

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



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:


question asked: 05 Feb '12, 19:23

question was seen: 5,073 times

last updated: 06 Feb '12, 11:08

powered by OSQA