Proposed features/right left

From OpenStreetMap Wiki
Jump to: navigation, search
Key suffixes :right and :left
Status: Post-Vote (under way)
Proposed by: DimitriJunker
Tagging: ...:right=...
Applies to: Way
Definition: Limits a tag to one side of a way
Rendered as: depends on key
Draft start: 2008-12-31
RFC start: 2009-02-15
Vote start: 2010-11-01
Vote end: 2010-11-15

Contents

Description

Users should, when they wish to be more specific and to define asymmetric (side-dependent) features, be able to append :left and :right to the tag key to restrict interpretation of the tag as a whole to just a single side.

Rationale

Many keys apply usually to both sides/directions of streets, but sometimes it would be useful to limit them to one side. For example a cycleway may only exist on one side, or on one side as cycleway=lane and on the other as cycleway=track.

Establishing this already in-use scheme as a common pattern for development of later tags helps

Tagging

This is a generative scheme, and can be used with any other key/value pair, denoted <key> and <value> in the table below.

Key Value Element Comment Rendering Photo
<key>:right <value> Way The key <key>=<value> applies only to the right-hand side of the way, with respect to the direction of the way's direction. N/A, or possibly altered way casings. Cycle trackinroad.jpg

cycleway:right=lane?

<key>:left <value> Way The key <key>=<value> applies only to the left-hand side of the way, with respect to the direction of the way's direction. N/A, or possibly altered way casings. Cycle nexttoroad.jpg

cycleway:left=track?

Interpretation

If a way is tagged both foo:left=bar and foo:right=bar for the same foo and bar, it would be simpler to merge them and just tag the way foo=bar: this by definition has the same meaning.

Corner case: if a way is tagged both foo=bar and foo:left=qux, then the bar value applies only to the right side and the qux value applies only to the left side. In other words, the more specific suffixed version overrides the less-specific unsuffixed version.

Examples

Tagging Explanation
highway=tertiary

cycleway:right=track

There is a cycle path along the right-hand side of this carriageway.
highway=residential

name=Cod Street

name:left=Fish Finger Terrace

For a short stretch, the road has a second name, applicable only to house addresses on its left.

Current usage

Consequences for taggers

Consequences for software

What about :forward and :backward?

Implies motion, even if their meanings are really "with arrow" and "against arrow". There's a proposal in the works to allow them to refine maxspeed and other access-limitation tags: see Proposed_features/Scope_for_access_tags. Perhaps a little outside the scope of this proposal.

This rather neatly leaves :left and :right for describing physical geography, extra lanes for specific vehicles types, name differences or whatever.

Discussion

Please use the discussion page.

Right now, it's less important to say whether you think :right/:left is useful for cycleway=* or any other specific key. For any key to use :right/:left we would need a separate proposal (or at least a discussed addition to any existing pages). The reason for this proposal is only to explain how to what the interpretation of a way with side-dependent tags should be before these are really used.

Opinion poll

Voting is not yet open, but please use {{Poll|yes}}, {{Poll|no}} to express what you think about this idea as expressed above.

I'd be happy to implement this for Osm2go at least, when time permits. --achadwick 13:28, 17 February 2009 (UTC)
Now implemented in Osm2go[1]. There is some sort of support for it in JOSM via [2], but I've not been able to get it to work for me: although tag-correction.reverse-way does appear to turn on proper handling of oneway, it doesn't appear to work for me for :left and :right. Oh well, their trac is → that way; let's go and add it. --achadwick 04:03, 22 February 2009 (UTC)
This would needlessly complicate matters, and go against years of established practice. It is currently natural to tag a highway with its number of lanes=*, for example, and we assume that footways and cycleway=*s are part of the way. Adding :left and :right into the mix would add new expressivity while retaining backward-compatibility. --achadwick 20:35, 21 February 2009 (UTC)
It's established in OSM to only map lanes separately if it's not physically impossible to travel from one lane to the next. i.e. if it's just a line painted on the ground, then you should not have separate ways. If there is a cycleway on one side the OSM convention is have a single way. To have separate ways for the road and the cycleway is a much bigger overhall than :left and :right tags. Rorym 17:34, 2 March 2009 (UTC)
I do not know if cyclelane=* is an approved tag, but a left/right value for that specific tag might be just as proper as a yes/no value, to add cyclelane:left and cyclelane:right is not the way to do it IMO. I have also learned after I wrote my opinion that highway=bus_stop is to placed at the side of the road, so no point in left/right there.

--Lulu-Ann 16:33, 19 May 2009 (UTC) Opps! double dislike!

... But these tag suffixes are for ways, not relations! Could you reconsider please, or let me know whether you think it's a flaw that this proposal doesn't address relations? Thanks. --16:08, 20 February 2009 (UTC)
Furthermore we already have "forward" and "backward" as relation roles, we can add "left" and "right" to that list easily, but I think it's not really related to this proposal. --Eimai 16:16, 20 February 2009 (UTC)
Indeed. This is a proposal for tagging ways only. It would as nonsensical to apply it to relations as it would be to apply it to a node. Relation roles are something else again, but relations are outside the scope of this proposal. --achadwick 20:35, 21 February 2009 (UTC)
All other solution I know of have more problems. Be constructive and show us how to do a better design! Since we really need this, we should use this scheme if no better one can be found. --Phobie 12:09, 12 June 2009 (UTC)
Yeah, you can, if you give two reasons :-) Sorry for the double dislike! --Lulu-Ann 12:34, 26 August 2009 (UTC)
left/right should be used for positional things (like cycle lanes, parking space), for directional things (like maxspeed, incline) please use forward/backward. You can imagine a oneway street to better understand the difference. --Kay D 19:42, 25 May 2010 (UTC)
Use :forward and :backward for that. See a few comments above for the reason. --Wimmel 18:21, 13 November 2010 (UTC)

Voting

Please add your votes below using
{{vote|yes}},{{vote|no}}
. We would be glad if you would write your concerns here or on the talk page for later improvements.

pro

against

Personal tools
Namespaces
Variants
Actions
site
Toolbox