Traffic unaware (OSM)
1
Send coordinates
POST /table
If you have small matrices and want to integrate a fast synchronous service, use the
/table/sync
endpoint.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
Prefer the signed url approach through the
/table/{id}/response/url
which redirects to Google Cloud Storage over our API.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