Skip to content

GraphHopper routes cars through pedestrian roads #3308

Description

@Langlaeufer

Describe the bug
highway=pedestrian roads are intended for pedestrians only; exceptions for vehicles should be tagged explicitly.

GraphHopper currently routes vehicles through pedestrian roads if motor_vehicle:conditional (e.g., delivery) is defined. I would expect motor_vehicle=no to remain the default for this road type, even when a conditional access tag is present, unless the routing profile explicitly validates that the condition is met.

Example:
https://www.openstreetmap.org/way/124259425
highway = pedestrian
motor_vehicle:conditional = delivery @ (Mo-Fr 06:00-11:00, 19:00-21:00; Sa 06:00-09:30; PH off)
bicycle = yes

To Reproduce
https://graphhopper.com/maps/?point=52.374555%2C9.733054&point=52.375861%2C9.737142&profile=car&layer=Omniscale

Expected Behavior
The routing engine should prioritize a detour around the pedestrian area.
https://www.openstreetmap.org/directions?engine=fossgis_osrm_car&route=52.374807%2C9.734209%3B52.375789%2C9.737197#map=16/52.37804/9.73678

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions