Closed mpadge closed 1 year ago
That actually already exists as part of the "weight-streetnet-times.R" code. The problem is that the current routine constructs a vector of potential values from (profile for way type, OSM maxspeed values, profile for surface type), and then selects the lowestof those. This routine then just needs to be modified to replace the lowest value for "motorcar" profiles with OSM values where those are given.
Current "motorcar" weighting defaults to weighting profile, which defines maximum speed values for each way type. Routing times would be much more accurate if local max speed values were used instead. Context: https://github.com/ATFutures/m4ra/issues/3