osrm-backend/traffic_updater/proxy.thrift
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

14 lines
230 B
Thrift

struct Flow {
1: required i64 fromId;
2: required i64 toId;
3: required i64 wayId;
4: required double speed;
5: required i32 trafficLevel;
}
service ProxyService {
list<Flow> getAllFlows()
Flow getFlowById(1:i64 wayId)
}