Logistics
Road distances for logistics and dispatch planning
The problem
- Straight-line estimates under-quote lanes and over-promise ETAs.
- Per-element pricing from big map platforms makes large matrices expensive.
- Planner inputs need reproducible results tied to a known map version.
How teams solve it with Wayline
Cost matrices for optimizers
Feed origins × destinations drive times straight into VROOM, OR-Tools or your in-house solver.
Distance Matrix APILane distance for quoting
One distance call per lane, with miles and readable text for quotes.
Distance APIReproducible results
Every response includes map_version so you can audit how a quote was computed.
Routing API
A typical workflow
- 1
Collect depot and stop coordinates (geocode addresses with your provider of choice).
- 2
Request a matrix for each planning window; tile large jobs within your plan’s element limit.
- 3
Run your optimizer on the duration matrix, then fetch full routes for the chosen sequence.
- 4
Store distances with map_version for billing disputes and audits.
Frequently asked questions
Does Wayline support truck routing?
Not yet. Today we offer a car profile. Truck profiles with vehicle dimensions are on the roadmap; until then, treat results as passenger-vehicle estimates.
Can I run large matrices?
Yes, by tiling. Each request is limited to your plan’s maximum element count; split larger jobs and run tiles in parallel within your rate limit.
Start building in minutes
Create an account, grab a test key and make your first request in under five minutes.