-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
using way types to calculate turn penalties #477
Comments
when turns are analyzed, are the osm tags on ways still available for inspection? |
At https://github.com/DennisOSRM/Project-OSRM/blob/master/Contractor/EdgeBasedGraphFactory.cpp the OSM tags aren't available, but the edge type IS available. |
hmm, that's tag position is probably not so useful. could turn analysis somehow be moved to the extractor..? |
@DennisOSRM what's the possibility of accessing the relevant ways tags from the turn penalty method? it's a been a while since i dived into the code. |
The possibility is rather low. We will start with a really simple model for turn penalties and then take it from there. |
i guess turn penalties will be moved to the lua profiles. it would be useful to be able to read the tags on the involved ways when calculating the penalty.
on bike or foot, turns that require crossing a big road (at an intersection without traffic signals) should incur a bigger penalty than if you're crossing a small road.
it seems related to signal penalties and turn restrictions. perhaps it can be combined?
The text was updated successfully, but these errors were encountered: