There's a whole mess of communities around me that have random fire gates across roads, and many of those gates are missing from OSM.

Tonight I added three of them using the techniques I saw mentioned here several times:

  1. Double click on the road segment to add a node to the line that defines the road
  2. Make the node a barrier=gate, access=no

Even though I've done this ORSM still routes through the gate when I test the changes using OSM and Car (OSRM) as the routing engine. Here's a link to one of my changesets: https://www.openstreetmap.org/changeset/62473213#map=19/47.74587/-122.18389.

Am I missing something?

asked 11 Sep, 05:36

snohoflex's gravatar image

snohoflex
1113
accept rate: 0%

edited 11 Sep, 08:31

scai's gravatar image

scai ♦
30.3k17271423


Your update is just 1 hour ago. The usual routing engines need time to do heavy pre-calculations. Because these calculations are that intensive they are not done every some minutes. The routers OSRM and graphhopper update every few days, you have to wait until that.

By the way, access=private would be more usual than =no in your case.

It is usual to not only add the barrier, but also the access restrictions on the roads which are blocked by it (and as likely indicated by signs). Some routing software might (possibly depending on configuration) even not take point barriers into account and hence not obey your newly added gate. Graphhopper in the configuration which osm.org uses takes gates into account (example) but OSRM not (same example). This example gate has no special tags forbidding cars. The result may be different if it would have them.

See that older question on how to divide a way, afterwards you can enter the access restrictions on the restricted part.

permanent link

answered 11 Sep, 06:25

aseerel4c26's gravatar image

aseerel4c26 ♦
31.1k15232531
accept rate: 18%

edited 11 Sep, 20:56

Thanks for the detailed reply! I'll go divide the way and then add access restrictions as well.

(11 Sep, 13:25) snohoflex
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:

×233
×156
×41
×32
×18

question asked: 11 Sep, 05:36

question was seen: 235 times

last updated: 11 Sep, 20:56

powered by OSQA