feat: Define thrift protocol with traffic service and implement logic which generates traffic update file for OSRM - OSRM with telenav traffic architecture - Define traffic protocol in thrift and generate de-coding code - Implement logic to pull result from traffic server and generate csv which could be used for OSRM customization Closes #1, #2, #3
23 lines
879 B
Markdown
23 lines
879 B
Markdown
# OSRM with Telenav Traffic Design (Draft)
|
|
|
|
## Architecture
|
|

|
|
|
|
### OSRMTrafficUpdater(need to implement)
|
|
- as client
|
|
- connect `TrafficProxy` by `RPC`
|
|
- convert contents from `RPC` protocol to `OSRM` required `csv` format, then write to file
|
|
|
|
### TrafficProxy(need to implement)
|
|
- as server
|
|
- provide traffic contents by region
|
|
- contents include at least `from node, to node, speed`(both `from node` and `to node` are come from original mapdata)
|
|
- known issues/questions:
|
|
- can not compile `OSM` mapdata to traffic graph?
|
|
|
|
|
|
## OSRM with Traffic Startup Flow
|
|

|
|
|
|
## Release and Deployment Pipeline
|
|
 |