Search for parkings

This forum deals with any kind of routing computation whether it is simple A:B-routing, calculation of isochrones, simple matrix computation or nearest search.
Post Reply
User avatar
Bernd Welter
Site Admin
Posts: 2574
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Search for parkings

Post 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
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... :twisted:
Post Reply