This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

When is a 2-Way street represented by 2 segments? and when by only one segment?

2

I encountered both cases and can't seem to find the rule.

Some 2 way-streets that are separated by a continuous white line are represented bu only one segment and sometimes by 2 segments.

asked 20 Jun '16, 15:46

sdbensa's gravatar image

sdbensa
41113
accept rate: 0%

Can you give examples of both? It'd be easier to know what you mean by "2 segments" then.

(20 Jun '16, 15:52) SomeoneElse ♦

@SomeoneElse: See this: https://www.openstreetmap.org/way/294623880 - one way for a two-lane, two-way street. The westernmost node is connected to two ways, 1 lane each, 1 direction each - yet there is no significant change in actual, on-the-ground street properties. https://www.openstreetmap.org/way/25920361 https://www.openstreetmap.org/way/4064054

(20 Jun '16, 16:13) Piskvor

That way's a good example of why I was asking - there are two parallel segments to the west, and at the east end https://www.openstreetmap.org/node/2982164520 splits 2 sections of Bucharova with different tags (in this case a different number of lanes).

(20 Jun '16, 16:22) SomeoneElse ♦

The east end is different for lane tags - I'm not disputing that. But the west part could be IMHO mapped as a single, two-lane way, with the same meaning as the current two one-ways have (couldn't be merged with the longer one, as there are different relations on both).

(20 Jun '16, 17:00) Piskvor

2 Answers:

6

Generally - for streets - we map 2 parallel ways when there is some kind of physical barrier, and one way only when the divider is simply a line. The boundary is blurry though. I suggest that you choose which form of mapping works best for you and apply that, without attempting to change the work of others to fit your personal style.

answered 20 Jun '16, 15:54

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

1

In most cases, a barrier will help determine whether to use 1 or 2 ways. Another test is whether navigation directions for a left turn from a driveway would result in a misleading route such as "turn right, then make a U turn at the next intersection".

answered 21 Jun '16, 10:58

Mike%20N's gravatar image

Mike N
2.9k22254
accept rate: 17%

Source code available on GitHub .