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

Hello Is there a way to extract the width of the road? I notice that the Tag:highway have an attribute called width, but when I use this attribute, it will give me the with of a barrier or a wall, but not the with of secondary or primary road, for example I'm just wondering can we extract this information.

asked 26 Jun '21, 17:00

rabeeqasem's gravatar image

rabeeqasem
318811
accept rate: 0%


The highway= and width= are both keys in the database, one is not an attribute for another although they are complementary.

The completeness of OSM varies from place to place. Widths are relatively difficult to measure accurately especially on busy roads. Depending on your application you may find that the lanes tags provides a reasonable proxy for a true width. While this is much more widely used the same caveat applies. Only approximately 6% of objects with a highway tag also have lanes tagged (compared with 1.3% for width).

permanent link

answered 26 Jun '21, 21:17

InsertUser's gravatar image

InsertUser
11.0k1369185
accept rate: 19%

Hi are you able to give us an example of the situation ? A possibility is that no one has added the width of the main road, but only the width of the barrier.

permanent link

answered 26 Jun '21, 20:43

Hendrikklaas's gravatar image

Hendrikklaas
9.3k207238387
accept rate: 5%

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:

×710

question asked: 26 Jun '21, 17:00

question was seen: 721 times

last updated: 26 Jun '21, 21:17

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