osrm-backend icon indicating copy to clipboard operation
osrm-backend copied to clipboard

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

Open flohoff opened this issue 10 years ago • 12 comments

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

flohoff avatar Nov 01 '14 10:11 flohoff