osrm-backend/docs/design/osrm-with-telenav-traffic.md
Jay fa37e1f618 Integrate Telenav Traffic Design and traffic_updater implementation (#18)
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
2019-06-17 13:50:31 -07:00

879 B

OSRM with Telenav Traffic Design (Draft)

Architecture

osrm-with-telenav-traffic-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

osrm-with-traffic-startup-flow-chart

Release and Deployment Pipeline

osrm-release-deployment-pipeline