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

using way types to calculate turn penalties #477

Open
emiltin opened this issue Oct 14, 2012 · 6 comments
Open

using way types to calculate turn penalties #477

emiltin opened this issue Oct 14, 2012 · 6 comments

Comments

@emiltin
Copy link
Contributor

emiltin commented Oct 14, 2012

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?

@emiltin
Copy link
Contributor Author

emiltin commented Oct 17, 2012

when turns are analyzed, are the osm tags on ways still available for inspection?

@mjoris
Copy link

mjoris commented Oct 18, 2012

At https://github.com/DennisOSRM/Project-OSRM/blob/master/Contractor/EdgeBasedGraphFactory.cpp the OSM tags aren't available, but the edge type IS available.
However the edge type is just the position number of the highway-tag in the speed profile. Currently, a specified speed profile has not been written in the assumption that the tags should be ordered by importance. Moreover some tags might be of equal importance.

@emiltin
Copy link
Contributor Author

emiltin commented Oct 18, 2012

hmm, that's tag position is probably not so useful. could turn analysis somehow be moved to the extractor..?

@emiltin
Copy link
Contributor Author

emiltin commented Jan 24, 2014

@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.

@DennisOSRM
Copy link
Collaborator

The possibility is rather low. We will start with a really simple model for turn penalties and then take it from there.

@daniel-j-h
Copy link
Member

@MoKob started to experiment with a more advanced approach in #2912 - bringing all these features together will allow for better turn penalties.

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

4 participants