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

There are two swing gates on a particular road:

https://www.openstreetmap.org/node/8637280777

https://www.openstreetmap.org/node/8637280778

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

dan000
16113
accept rate: 0%

1

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 https://www.openstreetmap.org/directions?engine=graphhopper_car&route=-27.26300%2C152.95739%3B-27.26384%2C152.95687#map=19/-27.26343/152.95714 .

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 ♦
1

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

alester
6.6k266100
accept rate: 28%

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

nevw
9.8k2690178
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

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
×1

question asked: 22 Sep '21, 16:13

question was seen: 1,023 times

last updated: 24 Sep '21, 06:58

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