Estimated Time of ArrivalETA (Estimated Time of Arrival) is the time when a ship, vehicle, aircraft, cargo or emergency service is expected to arrive at a certain place. (ETAETA (Estimated Time of Arrival) is the time when a ship, vehicle, aircraft, cargo or emergency service is expected to arrive at a certain place.) is the time when a vehicleThe term vehicle describes what is being routed or planned for. Vehicles are used in route calculation, distance matrix calculation and effectively also in tour planning. In route calculation, vehicle properties like overall size, weight and speed are in focus. In tour planning, it is vehicle properties like capacity and availability. Commonly a vehicle is motorized, like a truck - including its trailer or a car. However also a bike or even a pedestrian are included in this definition. is expected to arrive at a certain place. The PTV xRoute service offers the possibility to update all routeA route corresponds to a path of a vehicle through the underlying transport network. The main attributes of a route are the distance and the time that the vehicle travels along the path.-related information, in order to estimate more precisely the arrival time.
ETA Calculation is not enabled by default. To activate it, the user have to send both a pathWaypoint and ETACalculationOptions.
To update the time of arrival of a vehicle, The PTV xRoute service requires the current route that the driver is following (contained in the pathWaypoint) and the current vehicle position (contained in the etaCalculationOptions).
PathWaypoint is a type of InputWaypoint that contain an EncodedPath. The encodedPath of a route can be requested with the encodedPath result field. It contains all route-related information previously calculated. It will be used to update arrival time according to the current vehicle position.
ETACalculationOptions is part of
RouteOptions.
It contains all data relevant to the calculation of the estimated time of arrival.
The VehiclePosition contains all vehicle-related information.
There are two types of vehicle positions that describe the actual state of the vehicle:
PositionEnRoute and
PositionAtStop.
This value is to be adapted according the GPS positioning precision and the vehicle speed. For example, in rural areas where GPS precision is low, it should be enlarged to reflect the uncertainty, while it can be reduced if the vehicle speed is relatively slow. Also, setting this value high enough will ensure that the vehicle will use the same EncodedPath that was precalculated, without a new route recalculation.
Showcase | Calculate Estimated Time of Arrival |
Integration sample | Routing with Estimated Time of Arrival |