I’m seeing a significant and consistent discrepancy between travel time estimates from Valhalla (using OpenStreetMap data) and Google Maps, and I’m trying to understand what might be causing it.
I expect some variation due to factors like traffic, road conditions, or differing assumptions, but the magnitude and pattern of the difference seem too large to be explained by those alone.
Valhalla consistently gives significantly higher travel times than Google Maps.
The discrepancy is large (in this case, ~75% longer).
This is not a one-off case. I’m observing a consistent trend where the gap increases with route distance. This chart shows this trend - you can see that the disagreement between Google and Valhalla increases with increase in distance.
The discrepancy you’re seeing is real and fairly well understood in routing circles. It usually comes down to how travel time is modeled.
Even when two services both use OpenStreetMap, they can produce very different ETAs because OSM mostly provides topology and tags, not reliable real-world speeds. The routing engine has to infer speeds and apply penalties, and that’s where Valhalla and Google differ significantly.
I have absolutely no idea what the signage is supposed to look like there, but I’ve never seen this kind of tagging before. If Valhalla assumes that you’re only allowed to drive at walking speed here (which wouldn’t be unreasonable), then that explains the huge time difference.
Thank you for the response. However, that specific coordinate was just an example. The problem is that I am seeing this issue happen consistently across multiple destinations if I pick random points in a 25 KM radius. And the divergence between the two engines increase with distance. With a 30 KM distance, the disagreement of around 15 mins is this to be expected? I am also in general trying to understand how much error I can expect from the various engines. 15 mins (for a 30 KM drive) sounded a bit too huge, but maybe that’s normal?
As advice in good faith.
All routing engines provided by https://www.openstreetmap.org/directions are open source, with often very few contributors maintaining these routing engines in their free time. All of them are run with a “fits all purposes” configuration, and are mostly demos not showing the full capabilites of these engines.
Try to come up with an explanation for this behaviour yourself, to at least narrow down the probable cause so the people working on these projects can focus on the cause and aren’t occupied with chasing shadows (and most are not willing to do that and rightfully so).
@mcliquid already gave you pointers and i can assure you that in other situations the result is quite different and often comes down to mapping-preferences in a specific location, routing-engines that are configured in a different way to fit a purpose (I don’t know which engine Mapcarta is using), are not using the same version as the ones on https://www.openstreetmap.org/directions or have extra data. For example: Google always uses Real Time Traffic Estimates; Graphhopper has, as far is a remember included these speed estimates .
Or at least structure your question in a way that let’s the reader know what you are really asking about. Since your question seems to be more of a “why is it like this in general”, give more pointers. Not just one example that has been changed midway.
@anandan9470 Please don’t ask the same question in multiple places without at least linking to them; it wastes everyone’s time answering if you’ve already been given the same answers elsewhere.