Why not ask your question on the new OpenStreetMap Community Forum?

How to set up a Month restriction for a road? I have a road which is only allowed to drive from July to November. How to set this up?

asked 19 Nov '13, 16:18

ivolino's gravatar image

accept rate: 0%

edited 19 Nov '13, 17:32

aseerel4c26's gravatar image

aseerel4c26 ♦

There's also this previous question, if it helps.

(19 Nov '13, 17:00) SomeoneElse ♦

… note: that other question is in fact a collection of questions.

(19 Nov '13, 17:22) aseerel4c26 ♦

You can use conditional access restrictions. They support conditions based on the time and date which have to be specified using the opening_hours syntax.

To forbid any motor vehicle from December to June, use

motor_vehicle:conditional=no @ (Dec-Jun)

Alternatively you could disallow motor vehicles by default and only allow them between July and November:

motor_vehicle:conditional=yes @ (Jul-Nov)

But be aware that the second solution completely disallows motor vehicles for all applications that can't handle conditional restrictions.

permanent link

answered 19 Nov '13, 16:44

scai's gravatar image

scai ♦
accept rate: 23%

edited 19 Nov '13, 16:46

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



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:


question asked: 19 Nov '13, 16:18

question was seen: 2,948 times

last updated: 19 Nov '13, 17:32

powered by OSQA