How can I specify that a certain road is not to be used as a thoroughfare to reach another specific road? In Norway there are signs prohibiting cars from using a road as a short-cut to another road(usually a small road through a residential area leading to a major road). I cannot use "access=designated" since the road can be used for all other destinations except that specific road. I have tried to illustrate this with a drawingalt text. A car from the bottom passes a sign indicating that it cannot not continue to the major road(in red) but is allowed to take any of the blue roads. People living in that area(past the sign) are allowed to drive onto the red road.

asked 01 Dec, 04:34

Odiz's gravatar image

Odiz
161
accept rate: 0%

edited 01 Dec, 04:36


I think the closed tagging OSM has for this is the turn restrictions schema. While this can encode the relevant information it might be considered a bit of an "off label use". The description below is closest to the second example of a prohibitory restriction on the wiki page.

Steps:

  1. Split the road at at the sign and the relevant points where the drivers might turn onto the main road.
  2. Add a no_left_turn restriction with: the road before the sign as from, the road(s) traversed to reach the main road as via, and the relevant portion of the main road/sliproad as to.
  3. Add a no_right_turn restriction with: the road before the sign as from, the road(s) traversed to reach the main road as via, and the relevant portion of the main road/sliproad as to.
  4. Repeat for any other approaches with the same restriction.

As some might consider this to be stretching the definition of a turn restriction it might be useful to add a note=* tag to the new relations to help future mappers.

permanent link

answered 01 Dec, 11:06

InsertUser's gravatar image

InsertUser
3.2k12559
accept rate: 20%

Never thought of turn restrictions that way. Will give it a try and see if it works. Thanks.

(01 Dec, 12:27) Odiz

First access=designation is not a thing and is always wrong, what you were thinking of is access=destination

Outside of using *=destination I don't see a way of exactly modelling this with the the currently available tags, as, if I understood you correctly, through traffic is actually allowed for most destinations just not to the main road.

permanent link

answered 01 Dec, 10:43

SimonPoole's gravatar image

SimonPoole ♦
38.7k13287614
accept rate: 19%

1

I think it is just about possible if you consider it a pair of overgrown turn restrictions. The required 'via' ways are larger than you would usually expect though. I have no idea if existing software will parse it correctly.

(01 Dec, 11:12) InsertUser

A dedicated 'multi-from' and 'multi-to' relation type would be better though.

(01 Dec, 16:22) InsertUser
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:

×10
×2

question asked: 01 Dec, 04:34

question was seen: 97 times

last updated: 01 Dec, 16:22

powered by OSQA