There are two swing gates on a particular road:

They don't allow routing through them even though in the Feature Editor they have Allowed Access, All set to "yes". Why don't they allow routing?

(This is my first exposure to the behind-the-scenes of OSM. I am trying to figure out why my navigation app, Kurviger, won't allow me to plot a course through this road.)

asked 22 Sep '21, 16:13

dan000's gravatar image

accept rate: 0%


Different routers have different rules about what they think is navigable and what is not. You can try various combinations on the OpenStreetMap site at .

Do you know how often Kurviger updates their routing data from OSM? It won;t be instant, and might be a longer time than you're expecting.

(22 Sep '21, 16:34) SomeoneElse ♦

You were probably mistaken about the allowed access for all to be set to "yes". What you were seeing in the editor was an implicit assumption made by the editor. Note that the "yes" was written in a light grey font. Only when it appears as black font is it explicitly tagged. You see that also in the tags listed on the node pages that you linked above where the access key is not present.

(22 Sep '21, 21:07) TZorn

These gates don't actually have the allowed access set to "yes". Rather, they've both been tagged with opening_hours=24/7, which is a tag that routers may not look at for barriers. OSRM is treating these gates as closed and routing via other roads, though Graphhopper is routing through them.

Routers are more likely to look at the legal access tags. If these gates are always open, I would recommend tagging them with access=yes.

permanent link

answered 22 Sep '21, 17:10

alester's gravatar image

accept rate: 30%

As we have not heard back from @dan000 as yet, I have added access=yes to both lift gates as they are only in use during very uncommon flooding events at the river crossing.

permanent link

answered 24 Sep '21, 00:27

nevw's gravatar image

accept rate: 9%

Thanks for that.

(24 Sep '21, 06:58) dan000
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]( "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: 22 Sep '21, 16:13

question was seen: 263 times

last updated: 24 Sep '21, 06:58

powered by OSQA