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

Enable historical speed for OSRM #63

Open
CodeBear801 opened this issue Oct 7, 2019 · 2 comments
Open

Enable historical speed for OSRM #63

CodeBear801 opened this issue Oct 7, 2019 · 2 comments
Labels
Ideas Ideas for long-term discussion NewFeature New feature or feature improvement

Comments

@CodeBear801
Copy link

CodeBear801 commented Oct 7, 2019

OSRM use CRP to deal with live traffic, but historical speed is one of important features to support better route result. Live traffic make sense for the area near start point, but when expand road graph outside for 1 hour, historical speed play more and more important role.

Solutions

Option 1: Calculate sub-graph based on different time frame and then calculate final route based on sub graph

More Info
Project-OSRM#5503
Time dependent routing

Option 2: Adjust segment cost during route calculation

int GetSpeed(const EdgeId& id, const Time& t)

Option 3: Only use historical speed to pick up better route for optimization(weight/duration calculation)

Refer to Project-OSRM#4449 (comment)

  • Make time-independent route requests potentially with the alternatives=n MLD parameter
  • Use the annotations feature for osm node ids, speed and weight on route segments for all routes
  • Make time-dependent query on the intersection of all segments, use weight for optimization
@wangyoucao577
Copy link

For now I think option 3 may be the most efficient way for us to enable historical speed at the very beginning.

@wangyoucao577
Copy link

Option 4: re-customize historical speed

  • pre-proessing historical speed for a time clock
  • customize historical speed as well as traffic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ideas Ideas for long-term discussion NewFeature New feature or feature improvement
Projects
None yet
Development

No branches or pull requests

2 participants