Hello everybody,
we want to use xtour / xroute during the execution of tours. Our telematics system provides data such as remaining driving periods of our drivers but we can’t see how to create the string that is necessary as input parameter, namely the string remainingPeriods in DriverSettings. Is there a documentation and/or, preferably, a code snippet available? Any hint will be much appreciated!
Kind Regards,
Günter Westphal
How to construct REMAINING_PERIODS for realtime planning
-
- Posts: 5
- Joined: Thu Jul 28, 2016 11:52 am
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: How to construct REMAINING_PERIODS for realtime planning
Hi there,
I understand your usecase and forwarded it to our product management who already confirmed to put it on the priority list:
We'll see. Thanks for the recommendation,
Bernd
I understand your usecase and forwarded it to our product management who already confirmed to put it on the priority list:
- no guarantee for final consideration
- but valuable input for further improvements in module xTour2
We'll see. Thanks for the recommendation,
Bernd
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Re: How to construct REMAINING_PERIODS for realtime planning
Hello,
we would also like to provide the remaining driving hours for a driver to call calculateAdvancedTour(). I found an example in a public log-file on the web: but dont know how to interpret that in detail.
Given a driver regulation that says that after 4h driving there is a 1h break, I want to call the calcAdvancedTour with e.g. remaining drive time 2h. The expected behaviour then is that for the first section the driver has 2h of driving left followed by a 1h break and then again 4h driving.
Thank you!
we would also like to provide the remaining driving hours for a driver to call calculateAdvancedTour(). I found an example in a public log-file on the web:
Code: Select all
"remainingPeriods":
"22 serialization::archive 9 0 2 0 0 1 3 0 3 0 0 0 0 16200 0 0 0 1 0 39600 0 288000 0 0 3 2147483647 2147483647 2147483647 0 0 0 0 0 1 0 0 0 288000 0 0 892800 0 0 288000 0 0 6 0 0 0 288000 0 0 0 0 0 0 0 0 0 3 0 0 34388 2147483647 0 34388 0 4 0 16200 900 1800 0 39600 10800 32400 32400 3 32400 36000 2 604800 86400 0 518400 201600 162000 324000 345600 0 1800 2700 21600 32400 900 28800 172800 39600 0 0 0 0 0 0 0 0 0",
Given a driver regulation that says that after 4h driving there is a 1h break, I want to call the calcAdvancedTour with e.g. remaining drive time 2h. The expected behaviour then is that for the first section the driver has 2h of driving left followed by a 1h break and then again 4h driving.
Thank you!
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: How to construct REMAINING_PERIODS for realtime planning
Hi together,
the string itself is not documented and the interface is simply able to understand the remaining periods that are returned by a previous routing. From my current understanding, the documentation or simplification of such a parameter isn't part of future xRoute 1.X versions but a hot topic for xTour 2.
Best regards Bernd Welter
the string itself is not documented and the interface is simply able to understand the remaining periods that are returned by a previous routing. From my current understanding, the documentation or simplification of such a parameter isn't part of future xRoute 1.X versions but a hot topic for xTour 2.
Best regards Bernd Welter
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: How to construct REMAINING_PERIODS for realtime planning
Hi there,
I received a statement from DEV about "when and how will we implement the available break- and rest credits?":
Bets regards,
Bernd
I received a statement from DEV about "when and how will we implement the available break- and rest credits?":
- The topic is on our roadmap for xServer2.
- We do not have a concrete "short term" schedule for it so far
- We do not expect this to be available in 2018.
Bets regards,
Bernd
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Re: How to construct REMAINING_PERIODS for realtime planning
Hi Bernd,
can you give us an update for this feature in xserver2? Is it already implemented and available in xserver2 internet?
Best Regards,
Norbert
can you give us an update for this feature in xserver2? Is it already implemented and available in xserver2 internet?
Best Regards,
Norbert
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: How to construct REMAINING_PERIODS for realtime planning
Hi there,
nothing you can test so far but work is in progress.
Here's a little experimental teaser Let's see wether 2.14 will already offer this.
Best regards,
Bernd
nothing you can test so far but work is in progress.
Here's a little experimental teaser Let's see wether 2.14 will already offer this.
Best regards,
Bernd
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: How to construct REMAINING_PERIODS for realtime planning
just found this post. In the meantime we added a lot more flexibility to the topic "break- and rest rules"...
Drivers work logbook, flexible rules, configurable working hours and more
Check the API doc!
Best regards,
Bernd
Drivers work logbook, flexible rules, configurable working hours and more
Check the API doc!
Best regards,
Bernd
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...