Page 1 of 1

Search for parkings

Posted: Fri Oct 06, 2023 10:50 am
by Bernd Welter
In the last weeks I've been asked by several parties how to determine potential rest spots for truck drivers in an international context. The integrators had to face several thresholds such as

Code: Select all

The request contains an invalid path length which exceeds the configured maximum.
The route distance contained in the PathWaypoint must be less or equal to the meximum 
configured in xserver.conf. 
Compute a smaller route or contact your administrator to increase the maximum.
Well - obviously a reconfiguration isn't an option in PTV xServer Internet. But how about this:
  • Imagine you want to drive a >1000km route from Poland (Wroclaw) to France (Lyon)
  • You need to have a rest in a radius within 30minutes along the route corridor. Unfortunatel the corridor calculation runs into the error described above.
  • Here's the work around: Now you can use the break- and rest rules to determine the proper TourEvents along the route.
  • Then use a calculateReachableArea for each TourEvent with a horizon of 30mins
  • parkings.png
  • Instead of searching in one large corridor the quality of the output is even better because there will be some proper "distance" between the breaks
Best regards,
Bernd