2019-08-02 07:30:09 -04:00
|
|
|
include "position.fbs";
|
|
|
|
namespace osrm.engine.api.fbresult;
|
|
|
|
|
2019-08-06 08:31:39 -04:00
|
|
|
struct Uint64Pair {
|
|
|
|
first: uint64;
|
|
|
|
second: uint64;
|
|
|
|
}
|
|
|
|
|
2019-08-02 07:30:09 -04:00
|
|
|
table Waypoint {
|
2019-08-05 10:40:26 -04:00
|
|
|
hint: string;
|
2019-08-12 08:55:36 -04:00
|
|
|
distance: float;
|
2019-08-02 07:30:09 -04:00
|
|
|
name: string;
|
|
|
|
location: Position;
|
2019-08-06 08:31:39 -04:00
|
|
|
nodes: Uint64Pair; //Used only by 'Nearest' service
|
2019-08-02 07:30:09 -04:00
|
|
|
matchings_index: uint; //Used only by 'Match' service
|
|
|
|
waypoint_index: uint; //Used by 'Match' and 'Trip' services
|
|
|
|
alternatives_count: uint; //Used only by 'Match' service
|
|
|
|
trips_index: uint; //Used only by 'Trip' service
|
|
|
|
}
|