Traffic unaware (OSM)
1
Send coordinates
POST /table
2
Poll table until ready
GET /table/4309631/status
3
Get response (gzipped)
Make sure you test this endpoint with a browser or that supports gzip compression.
GET /table/4309631/response
Traffic aware (TomTom)
Solvice Maps has integrated TomTom road segment information in order to produce Traffic-aware routing. It is based on slices of adjusted travel time information. To get Traffic aware distance matrices, you need to set thedepartureTime as well as setting the routing "engine": TOMTOM.
At Solvice, we use the following slices:
| Period | From | To |
|---|---|---|
| NIGHT | 20:30 | 06:30 |
| MORNING_RUSH | 06:30 | 09:30 |
| MORNING | 09:30 | 12:00 |
| MIDDAY | 12:00 | 14:30 |
| AFTERNOON | 14:30 | 16:30 |
| EVENING_RUSH | 16:30 | 19:30 |
"interpolate": true.
Like so:
POST /table