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

I'm having some trouble with extracting the number of lanes and appropriate turn restrictions in OSM. Take for example Penn Avenue, at the intersection with Center Avenue in Pittsburgh. On the map you clearly see a purple road with a dotted center line which indicates multiple lanes. Yet in the data, there is no "lanes" tag. How can I get the number of lanes for this particular street? If it's not in OSM, is there some external source where I might be able to get this kind of data?

Update: Here is a screenshot of that particular intersection from Google maps satelite: When coming from the street at the bottom left (Center ave), there are 2 lanes: one to go straight and one to go right. It is prohibited to turn left onto Penn Ave. The street from the top left to bottom right is Penn ave. As you can see, there are multiple lanes as well. When I export the OSM data for this intersection, there seems to be no information about the number of lanes, nor is there any information on the turn restrictions?

asked 19 Jun '15, 06:29

JorisK's gravatar image

accept rate: 0%

edited 19 Jun '15, 16:32

On the map you clearly see a purple road with a dotted center line which indicates multiple lanes

Are you sure about that? I'm pretty sure that dotted purple lines represent administrative boundaries (countries/states/counites/etc.), and it looks like that road is in an administrative relation:

permanent link

answered 19 Jun '15, 08:36

rorym's gravatar image

accept rate: 11%

I've updated my question with an image of that particular intersection. Hope this clarifies. Perhaps my interpretation of the 'dotted' line was wrong, but there are certainly multiple lanes and turn restrictions for this particular intersection. Yet I can't find information about this in the data.

(19 Jun '15, 16:34) JorisK

It looks like no-one has added the lanes value to the OSM database. This is not unusual, ~97% of roads in OSM have no lane information. Perhaps you could map it yourself?

(20 Jun '15, 16:34) rorym

Like rorym said, the purple dotted line you see is this administrative boundary for the Shadyside neighbourhood. While there may exist multiple lanes and turn restrictions in real life, those have not yet been represented in the OpenStreetMap data. Further, neither the number of lanes nor turn restrictions are currently rendered by the style used on that map, so they wouldn't be visible even if they were in the data.

permanent link

answered 19 Jun '15, 17:25

alester's gravatar image

accept rate: 28%

After being a bit familiar with OSM tagging schema for turn lanes and turn restrictions, you can load that area for example in the offline editor JOSM.

There you can see that right to this moment (maybe someone is adding tags in the next hours or days) thereis NO tagging about lanes, turn lanes and turn restrictions.

In JOSM there are symbols for turn restrictions, and there is a mappaint style for lanes, and turn lanes!

And I never came accross any legal data source with real data about lanes count and turn restriction for any area in the world.

So it is hard work to derive that real world information by own knowledge, or any webservice where we have the explicit permission to use for OSM purposes, like, Bing aerial photos or Mapbox aerial photos

permanent link

answered 19 Jun '15, 16:47

stephan75's gravatar image

accept rate: 6%

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]( "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: 19 Jun '15, 06:29

question was seen: 5,821 times

last updated: 20 Jun '15, 16:34

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