Replies: 7 comments 30 replies
-
You're mixing it all together :)
|
Beta Was this translation helpful? Give feedback.
-
But alternative routes are of no use when the driver does not know the route (which is what the navigator is for). The driver chooses the most direct route through the mountain pass, unaware of the trouble he is getting into until he is already there, cursing the navigator for taking him that way. |
Beta Was this translation helpful? Give feedback.
-
By the way. This would also satisfy #3000: it would be trivial to implement an option for most twisty route possible for bikers and other asphaltic fauna. :) |
Beta Was this translation helpful? Give feedback.
-
There are/was some efforts to generate real speed data https://github.com/OpenStreetMapSpeeds |
Beta Was this translation helpful? Give feedback.
-
For the city where I live, there are open data with the average vehicle speed for each lane, measured every 5 minutes in the main streets. Let me know if such data is useful. |
Beta Was this translation helpful? Give feedback.
-
Not exactly the point but I don't want to risk unleashing the wrath of the programmers by opening new threads. :) |
Beta Was this translation helpful? Give feedback.
-
On another note, and without wishing to monopolise the debate. |
Beta Was this translation helpful? Give feedback.
-
Like all other navigators, the algorithm for calculating the fastest route assumes that the driver will travel at the maximum speed of the road. This assumption can be misleading, and provide a sub-optimal route calculation.
An example: There are two ways to reach the destination, one on a national road (maxspeed=100 km/h), and a slightly shorter way through a mountain pass (maxspeed=90 km/h). But in reality, the average speed on the latter road is 50 km/h. No one who knows the area would choose the latter option, as it is slower, although the calculation using the maximum legal speed on the road indicates otherwise. And even if it were slightly faster, most drivers would still prefer the better road, as it is the more comfortable, safer and more fuel efficient alternative.
So what do I propose to improve the route calculation? Use in the algorithm, not maxspeed, but a more realistic average speed, defined on the basis of road geometry and gradient. Of course, this would be a parameter specific to each road section that would have to be calculated in advance, when importing the OSM maps. And it would be sufficient for the algorithm to work with this speed value, instead of maxspeed.
Similarly, one could think about how to calculate a speed in a city, because it is not reasonable to think that we can cross a big city at 50 km/h maintained. There is dense traffic, traffic lights, crossings, pedestrian crossings... Here it is not very clear to me how to do it. It could be modulated by time of day (at night closer to maxspeed), and add delay for each traffic light, junction, etc. All the navigators, with the exception of Google Maps (it plays in another league, as it has access to real position data), suggest me to go through Madrid instead of going around it by the ring roads, which is crazy.
The proposed changes could be the differentiating factor to make OM the best offline browser. Or, at least, the best at calculating routes, which for me is almost a synonym.
Beta Was this translation helpful? Give feedback.
All reactions