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

When I plot a highway, road, street or path, what direction should I draw it in, or assign to it? Are there any conventions? For waterways the documented convention is the direction is the direction of the water flow, i.e. downhill to the sea. Also, it would make sense that on divided highways the direction of each way is the same as the direction of the traffic flow, but I cannot see where that has been documented anywhere. My real problem is when it comes to two way streets where there is a single way representing travel in both directions. What is the way direction? Should I draw the way from the end of a street to a junction, or between two junctions on two other streets, the way acquires its direction from the direction it has been drawn in. But should the way direction be changed to follow the property numbering on the street, and be in an increasing property number direction? Or should the direction point towards, or away from, the centre of town, or other destination? What about other ways, like foot and cycle paths, should the direction be uphill, downhill, or is there some other convention or rule?

asked 03 Jun '15, 14:51

Huttite's gravatar image

Huttite
56061122
accept rate: 0%


Oneway roads are tagged with oneway=yes, so the way direction matters. Other way whose direction matter include waterways, coastlines, cliffs, embankments, any way tagged with "*:forward/backward/left/right" keys, etc.

In other cases, the way direction does not matter, so use whatever direction is easyer to draw.

Your editor should know about most of those cases, so that if you reverse the way's direction ('r' in JOSM or 'v' in iD) it'll update the tag and/or warn you.

permanent link

answered 03 Jun '15, 15:32

Vincent%20de%20Phily's gravatar image

Vincent de P... ♦
17.3k18152249
accept rate: 19%

1

Roundabouts (highway=roundabout) are the only exception to the general rule I believe, you should follow the direction of traffic flow (oneway is implicit by tagging conventions, if not specified).

(03 Jun '15, 19:48) Alecs01

I have worked out how I can choose and change the way direction in the editor, that is not my problem.

In the real world, the thing that a way represents will often have a direction. Or the way will need a direction so I can use the tags of forward, left, backwards, right, etc. In my case I have a no exit way with a single line that crosses a single lane bridge from the junction with a main road. Traffic turning off the main road onto the bridge has right of way over traffic coming the other way. Exiting the bridge, after crossing the river there is a sharp left turn with a cutting in the bank on the driver's right and an embankment (river bank) on the left. Of course the driver exiting the street has to give way to traffic turning off the main road, but they have to stop in a passing area, before turning onto the bridge. I want to represent all these features on the same way at the same time, so I need to determine the direction of the way. What is the rule? What is the principle, logic, or convention for choosing a particular direction, if any?

(05 Jun '15, 14:30) Huttite
3

Pretty much all tags that depend on the osm way's direction have a "reversed" value (in order to support various combinaisons on a single object). Because of that, the direction of the actual osm way rarely matters, it's just personal style. The exceptions (waterways, cliffs, coastlines...) are rare and documented on the tag's wiki page.

(05 Jun '15, 15:35) Vincent de P... ♦

If it is a two way street then it does not matter which direction it is entered. The direction of the way only becomes important when you add a oneway tag. Likewise for foot trails and cycle paths.

permanent link

answered 03 Jun '15, 15:35

n76's gravatar image

n76
10.8k1082172
accept rate: 17%

My street is two way but with only one lane, so is only wide enough to travel one way at a time. In some places it is wide enough to pass, in other places, particularly the bridges, it is one way at a time only. But it is not a one way street, so the oneway tag is not appropriate, although the tag lanes=1 is. Pedestrians and cyclists also use the street as a footpath, or cycle path, as it has no sidewalks.

So the direction is important. But what is the rule that should be applied to determine the direction that should be recorded?

(05 Jun '15, 14:50) Huttite

I agree that on a one way street that the way direction should be in the direction of the traffic flow. But on a ONE LANE TWO WAY street the way direction could become very important, because the direction could indicate which direction should give way. For example: on a hill - down hill traffic should give way to up hill traffic, or on a single lane bridge one direction often has right of way over the other direction. In rural areas, some property numbering schemes rely on the distance from the start of the road. This suggests highways should be directional. However, I can't find any convention saying what direction they should be given.

permanent link

answered 03 Jun '15, 16:01

Huttite's gravatar image

Huttite
56061122
accept rate: 0%

3

I haven't seen any tagging regarding which way traffic should yield on a two way one lane road, so I can't comment on that. In the western United States the one lane bridges I can remember have a stop sign on both ends and there are no conventions as two which direction has priority.

With respect to addressing, the best case scenario is that each actual address is represented as a point or area so the direction of the near by road is irrelevant. If you are doing address ranges, then that is a separate vector parallel to the road, it is not tagged on the road.

(03 Jun '15, 16:19) n76
1

I came across this wiki article for the Key:priority which seems to express just what I want to show on the map. However, it requires the way to have a specific direction. What I want to know is how do I determine the best direction, or is there no rule, standard or convention?

(05 Jun '15, 14:03) Huttite

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:

×163
×95
×43
×24
×2

question asked: 03 Jun '15, 14:51

question was seen: 7,003 times

last updated: 05 Jun '15, 15:35

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