I have installed a local instance of OpenRouteService for France to compute travel time matrix and it works very well.
The driving times are in my opinion a bit optimistic, especially in dense areas. I guess this is to be expected as Openroute does not take traffic into account.
I put together a simple workflow to try to improve the results by applying regional corrections and I would like to have your opinion to understand whether I am missing something.
As I read in #1165 the
maxspeed in OSM is given priority when calculating the travel speed. If that is missing, an heuristic procedure determines the speed to use.
Because I would like to apply corrections geographically, my idea is to act directly on the input data rather than ORS configuration. In practice, this means:
- Download OSM data
- Fill all the
maxspeedmissing values with a value by type of road to make sure that there is no need for the heuristic.
- Apply regional coefficient (for example
0.95*maxspeedfor low traffic areas) to tweak the maxspeed.
- Use the modified data to initiate the OSR instance
In my view, this should make sure that each road has a
maxspeedvalue and that ORS uses that value to compute the travel distance.
Does it make sense ? Am I missing something important ?
Thank you for your time and for the great work you are doing.