Skip to content

traffic_light penalty to high for complex crossings (osrm v0.3.4) #1250

@flohoff

Description

@flohoff

Hi,
for example this crossing:

http://www.openstreetmap.org/?mlat=51.89652&mlon=8.36187#map=19/51.89652/8.36187

the traffic_lights controlling the foot/cycle ways also penalize the car traffic. So there is a double penalty for any traffic crossing this crossing. (Same applies to multi-lane crossing which have traffic_lights on them too - so on this crossing one passes 3 traffic_lights)

After i changed the crossing to include the bicycle/foot crossings my route monitoring showed change in routes.

http://routeqa.zz.de/?rid=13121,21896

This is a pretty old OSRM version v0.3.4 so my bug could already be obsolete but my guess was that preprocessing of traffic_lights on large crossings have not changed?

I guess there should be some logic sayed - if we had a traffic light within the last 30/50/80 meters dont apply the traffic_light penalty again - its the same junction.

Flo

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions