I already have implemented the “bus” encoded value. See this: Except=bus OR except=psv tags are not considered for "vehicle":"car" - #4 by karussell
But then I am unable to route on the streets which have tags highway=pedestrian and bus=yes. My Bus Profile should be able to route through the pedestrian zone, where the buses have permission because of the bus=yes tag in OSM.
Does graphhopper-7.0 support this?
My custom model looks like this:
{
“distance_influence”: 90,
“speed”: [
{
“if”: “true”,
“limit_to”: “car_average_speed * 0.9”
},
{
“if”: “true”,
“limit_to”: “120”
}
],
“priority”: [
{
"if": "car_access == false && bus!=YES",
"multiply_by": "0"
},
{
"else_if": "foot_access == true && bus==YES",
"multiply_by": "1"
}
]
}