The method calculateTour() allows driver hours rules and other time frames to be specified which will be taken into account for trip planning. The server includes a native file, the so called "native-timecalc.xml" which contains the following attributes:
Maximum working period before a break
Break, rest and shift periods
Minimum time for first and additional subsequent breaks
Maximum working period during one single shift
Minimum stop period before rest period
The tour point descriptions extend the route waypoint array. The following time-dependent parameters can be defined to enhance the time frames:
Service periods and opening intervals
The time events are part of the tour output. As a tour summary, the following parameters will be returned as a result list (see API for detailed documentation):
Start time and period of an event
Tour point and segment indexes
Time event types see API documentation
Arrival and departure time
Start and end of a service
The complete European rules for driving times and rest periods as well as the German regulations concerning working time are integrated, e. g. weekly rest periods can be considered when planning trips.
Based on the calculation of trips with rest and break rules, it is possible to combine manoeuvres with time events. This is useful if you want to combine the itinerary results with tour data like required breaks, rests or the arrival at a specific tour point.
Copyright © 2024 PTV Logistics GmbH All rights reserved. | Imprint