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

The gate here http://www.openstreetmap.org/#map=19/52.33809/-0.17666 has been closed to vehicles for a several years. It had a small hand gate for walkers and cyclists which saved a detour of one K or so. The College has some young students now so the small gate can't be opened from Coxons Close either since 2015. I'm told it is exit only at some times, A young woman I asked said "I have to take the long way around but a can get out after work by pressing a button on the inside to get out". I mapped it as barrier=gate, how do i add these conditional tags. I tried out the routers on the main map page. Car, cycle and foot all route through it. Should I just break the way to stop incorrect routing?

asked 06 Jan '17, 14:20

andy%20mackey's gravatar image

andy mackey
13.2k87143285
accept rate: 4%

edited 06 Jan '17, 14:21


Don't break the way, use access tags instead.

According to your description it sounds like a private gate to me. In this case I would just add access=private to the gate. This should be enough for routers to avoid the gate, otherwise they are broken (or use old data).

Alternatively you could try to use conditional restrictions if you know the exact times the gate is open. However in your case I wouldn't bother to map them. If you insist to map them nevertheless then use the most restrictive value as default. Example: access=private + foot:conditional=yes @ Mo-Fr 08:00-16:00 + bicycle:conditional=yes @ Mo-Fr 08:00-16:00. However this still doesn't include the direction which seems to be important according to your description.

permanent link

answered 06 Jan '17, 14:52

scai's gravatar image

scai ♦
33.3k21309459
accept rate: 23%

edited 06 Jan '17, 14:57

1

Thanks Alex

(06 Jan '17, 16:43) andy mackey
1

I added access=private as scai suggested and now walkers and drivers don't get sent through there by the routers.

(11 Jan '17, 19:00) andy mackey

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:

×305
×191
×98
×55
×16

question asked: 06 Jan '17, 14:20

question was seen: 2,707 times

last updated: 11 Jan '17, 19:00

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