-
Notifications
You must be signed in to change notification settings - Fork 143
Description
As long as it is impossible to create profiles where node cost can be based upon the type of highway (intended: primary or secondery) that is being crossed, the left and right attached highways, and its number of lanes (#792), my planned workaround is to assign hazard=dangerous_junction to the specific road crossing(s) in osm.
The tag hazard=dangerous_junction is in the osm wiki. This tag count is 1.4K and increasing.
Planned profile logic: is to check that "my" way is not primary or secondary and that the surface of my way is not asphalt or concrete, or that the surface is sett|paved|cobblestone|paving_stones, and then apply a penalty for crossing dangerous junctions.
Background for this logic: In real world the safer crossings have an asphalt or concrete connection, and the unsafer crossings have a short strip of a different surface material. See for example NL: N272 or N277. Besides that, I don't want to add a penalty to dangerous crossings of equal roads. Equal road crossing are less dangerous in my opinion and sometimes lead through nice touristic landscapes.
For this it would be great of hazard=dangerous_junction is included in the lookups. This request is related to PR #458.