NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the 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

s_limo
21112
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

dieterdreist
3.7k113567
accept rate: 3%

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:

×86
×53
×18
×16
×11

question asked: 15 Mar '22, 12:05

question was seen: 1,814 times

last updated: 20 Mar '22, 18:52

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum