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

Hi, how can I get the roads and rails properties, as length, width, number of lanes and (traffic) direction from an exported area of OpenStreetMap?

I would need to export/download nodes and edges of an area and get the roads and rails properties (at least the length) - Any idea?

asked 15 Mar '22, 12:05

s_limo's gravatar image

accept rate: 0%

edited 15 Mar '22, 12:13

You could open the file in QGIS if it is small, and do the measurements there. If it is bigger and you don’t have a dedicated software (which likely exists for road or rail lengths, but I don’t have a link at hand) you could import it into a geo database and get the lengths there. For example with osm2pgsql in latlong mode into PostGIS

permanent link

answered 20 Mar '22, 18:52

dieterdreist's gravatar image

accept rate: 3%

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: 15 Mar '22, 12:05

question was seen: 1,341 times

last updated: 20 Mar '22, 18:52

powered by OSQA