Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't get traffic light penalty to work? #84

Closed
emiltin opened this issue Jan 19, 2012 · 2 comments
Closed

can't get traffic light penalty to work? #84

emiltin opened this issue Jan 19, 2012 · 2 comments

Comments

@emiltin
Copy link
Contributor

emiltin commented Jan 19, 2012

i've set trafficLightPenalty in my speedprofile, but i can't see any difference in the routes computed. i've tried with settings of 1,15,100,1000, it makes no difference. i've verified that the intersection nodes involved have highway=traffic_signals set.

i'm testing by routing around a somewhat rectangular block with traffic lights in both the eastern corners - yet osrm doesn't seem to prefer the way around the block without traffic_lights.

http://www.openstreetmap.org/?lat=55.659393&lon=12.592401&zoom=18&layers=M

is there anything else i need to do?

here's my profile:

[bicycle]
cycleway = 20
trunk = 20
trunk_link = 20
primary = 20
primary_link = 20
secondary = 20
secondary_link = 20
tertiary = 20
unclassified = 18
residential = 18
living_street = 18
service = 15
track = 15
path = 15
ferry = 5
pier = 5
steps = 3
obeyOneways = yes
useRestrictions = yes
accessTag = bicycle
excludeFromGrid = ferry
defaultSpeed = 20
trafficLightPenalty = 20

@DennisOSRM
Copy link
Collaborator

duplicate to issue #31. It's not yet fully implemented.

@emiltin
Copy link
Contributor Author

emiltin commented Feb 3, 2012

ok. i misunderstood something, i thought it was implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants