How to tag a street which is one-way for the general public, but two-way for local residents? oneway:destination=no (analogous "oneway:bicycle=no")?

asked 31 Jul '14, 10:52

Arathos's gravatar image

Arathos
31114
accept rate: 0%

edited 31 Jul '14, 12:01

aseerel4c26's gravatar image

aseerel4c26 ♦
32.1k16239551


There is an approved tagging scheme for those situations where traffic rules depend on factors such as the time, the weather, or who you are. It's called "conditional restrictions".

This is how we would do this. First, let's set the default for regular traffic:

oneway = yes

Then set the exception, and for whom this exception applies:

oneway:conditional = no @ destination

By the way, the reason why oneway:destination would not be correct is that, unlike bicycle, destination is not a type of vehicle.

permanent link

answered 31 Jul '14, 19:57

Tordanik's gravatar image

Tordanik
10.8k1294132
accept rate: 33%

Thank you very much!

(31 Jul '14, 23:01) Arathos

IMHO it doesn't really matter. Currently there is no established tagging for your scenario (see http://taginfo.openstreetmap.org/search?q=oneway ), that in turns implies nobody would actually use the tagging (in this specific case it can further be assumed that the residents don't really need to navigate with an app down the road they live on).

In the end you are simply documenting the situation and in such a case the tagging should simply not conflict with existing usage, and as you can see from taginfo it doesn't.

permanent link

answered 31 Jul '14, 11:15

SimonPoole's gravatar image

SimonPoole ♦
39.0k13289620
accept rate: 19%

1

Whether tagging styles are "established" is of course subjective. However, the ":conditional" suffix is not only approved by a vote, it has also about 50000 uses, although of course distributed across various main keys.

(31 Jul '14, 20:09) Tordanik
2

I would agree with Tordanik that his suggestion is clearly more consistent with the conditional tagging scheme. Using it would increase the likelihood of the tagging being used if ever somebody wanted to modify routing for such a case.

(31 Jul '14, 22:59) SimonPoole ♦
Your answer
toggle preview

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:

×837
×44
×15

question asked: 31 Jul '14, 10:52

question was seen: 4,296 times

last updated: 01 Aug '14, 10:45

powered by OSQA