Open Yogurt4 opened 2 years ago
Hi @Yogurt4 Thank you for the report. That would be a data error in the underlying OpenStreetMap data. These roads are mapped permitting through traffic (normal residential roads, not restricted living srteets).
Hi @datendelphin
In the example #2 above the router gives two alternative routes:
- The problem is with the the purple one which uses living streets. For example this segment is included: https://www.openstreetmap.org/way/108366038#map=17/47.48602/18.97399
It looks like highway=living_street has nation-specific meaning that OSRM does not consider. In Hungary, this includes what would be supported by the access=destination
tag to prevent through traffic.
There is support in OSRM for location-specific data during the extraction phase via the Lua profiles. However, I'm not familiar enough with the code to know how much work would is required to translate the living street definitions to restriction and access primitives that OSRM understands.
Yes, would be nice if osrm could handle that on a country basis. But to the mappers: The safe way is to map access restrictions: vehicle=destination or motor_vehicle=destination. There have also been lots of discussions about default access for paths and tracks. There the conclusion is similar: it varies a lot across the planet, so the safe thing to do is tag it explicitly. Is there something that would hinder you from tagging access on those streets?
I disagree with mapping motor_vehicle=destination
.
First of all, this restriction comes from the traffic rules. It's implicit, yes. Just as the implicit speed limits, or just as the rule that you're allowed to use a motorway only with vehicles capable to go with at least 60 km/h, e.g., not with bicycles or mopeds - and no one tags motorways with bicycle=no
. And no one needs to tag oneway=yes
on motorways either.
And a practical objection: One would have to continuously maintain this tagging for all the living streets in the country.
I know the exact rules change by country. For example, the speed limit on living streets is 20 km/h in Hungary, Austria, etc.. However, in Germany, it's only 7 km/h.
This issue seems to be stale. It will be closed in 30 days if no further activity occurs.
Well, dumb bot, you may close this issue. As it seems, no one wants to bother with country-specific rules.
Why did the issue got closed for pressing Shift+Enter for a line break?
I'm not sure about global rules but here (Hungary) a living street can be used only for destination access (in addition to the implicit 20 km/h speed limit). It's regulated by the traffic rules [Kresz]. However, OSRM is planning through living street zones.
Example #1, OSRM instance of FOSSGIS running at openstreetmap.org Example #2, OSRM instance run at project-osrm.org
Google Maps and Waze plan a legal route.