Wayline vs Google: an accuracy benchmark methodology

How to compare OpenStreetMap-based driving distances and times against ground truth fairly — sampling, metrics, traffic caveats and reproducibility.

By Wayline Engineering · · Updated · 1 min read

"Is OpenStreetMap routing as accurate as Google?" is a fair question with a frustrating answer: it depends on the region, the metric and what you compare against. This post describes the method we will use to answer it honestly. It contains no results yet — those will be published with raw data once measured.

Compare against ground truth, not another API

Comparing two APIs tells you how much they disagree, not which one is right. Our reference is ground truth: recorded GPS traces of real drives, with measured distance and actual elapsed time. Provider terms also often restrict benchmarking or storing their results; we only use what terms permit.

Sampling

  • Regions: each enabled Wayline region, reported separately.
  • Trips: stratified by length (0–5 km, 5–50 km, 50+ km) and road mix (urban, suburban, rural).
  • Time of day: recorded, because free-flow estimates diverge most at rush hour.

Metrics

MetricWhy
Distance error (%) vs GPS-trace lengthMeasures route choice and map completeness.
Duration error (%) by hour of daySeparates free-flow bias from routing errors.
p50 / p90 absolute errorAverages hide tails; report percentiles.
Route overlap (Fréchet distance)Detects different routes with similar lengths.

Fairness rules

  • Same origin/destination points, same vehicle profile, no traffic on either side unless explicitly testing traffic.
  • Disclose map version and dates.
  • Publish the sample, scripts and seed so anyone can reproduce.

What we expect to learn

Free-flow durations should track off-peak trips well and underestimate peak trips; distance should be close where OpenStreetMap coverage is mature. Where it isn't, the fix is better map data — which benefits everyone.

The full protocol lives on our benchmark methodology page.

BenchmarksOpenStreetMapEngineering

Start building in minutes

Create an account, grab a test key and make your first request in under five minutes.