This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Road is closed for cars, but can still route by car

2

I have changed a road to be only accessible by foot: https://www.openstreetmap.org/changeset/38218082 It is blocked on several positions with large boulders. A car can never use this road. However when using the routing features, I can still map my route over this road, see for instance: https://www.openstreetmap.org/directions?engine=osrm_car&route=12.1791%2C-68.2887%3B12.1905%2C-68.2794#map=17/12.18905/-68.27989

It should however use a different road to guide me to the destination. Is my edit somehow wrong, or is the routing information updated less frequent?

asked 01 Apr '16, 07:15

Rody's gravatar image

Rody
46114
accept rate: 0%


One Answer:

4

The old way 26284967 still exists and is used for routing. Instead of updating the access tags of the existing way you accidentally added a new ways 406443255 and 406901331. Now there are three overlapping ways which is wrong.

Fix this by deleting your newly added ways 406443255 and 406901331. Then split the old way 26284967 at the relevant nodes and add the access tags again.

answered 01 Apr '16, 08:07

scai's gravatar image

scai ♦
33.3k21309459
accept rate: 23%

3

It's also worth mentioning that external routing sites such as OSRM won't react to changes to OSM data immediately. After you fix it in OSM you may have to wait a few days for external routers to use your change.

(01 Apr '16, 08:21) SomeoneElse ♦
2

Thanks! I have made the changes and will check in a few days if routing is correct now.

(01 Apr '16, 08:38) Rody

Source code available on GitHub .