Use updated edge speeds for route time calculation #7021
Replies: 2 comments 4 replies
-
Rather than modifying the pbf file prior to extracting with OSRM, you may consider adjusting speeds afterward using traffic updates. |
Beta Was this translation helpful? Give feedback.
-
@jcoupey I am trying to include the traffic updates in my osrm, but i am not seeing any change in the response of the route api. I have a small area osm file. I have been using the following commands to set up osrm on my machine since a long time and it works fine. Now the only updates to include segment speeds are in steps 1 and 3, where in step 1 we are adding --generate-edge-lookup and in step 3 where we are adding the csv file for updates.
In the custom_segments_speed.csv, i have set 1000 km/hr speed for know segments still i am not able to see any impact on the route api. Am i missing something? Also what can i do to take care of this point mentioned in traffic updates page: "Remember to re-load the data by either restarting osrm-routed, or using osrm-routed -s along with osrm-datastore." Any help will be appreciated. Thank you. |
Beta Was this translation helpful? Give feedback.
-
Hi everyone,
I have a osm .pub file from geofabrik. I want to know which tags (for nodes and ways) should i update in this osm file using osmium so that once we have extracted and partitioned osrm from this osm file lets say using car.lua, then upon calling the route api i would like to see the updated duration when calculating route time between two points.
There was an issue which also asked which speed is taken into consideration when calculating route duration from route api (issue: 6872): Link
Beta Was this translation helpful? Give feedback.
All reactions