Page 1 of 1

Different load weight for different parts of the route

Posted: Tue Jul 25, 2017 6:51 am
by qsku
Hi guys!
Let's take such an example.
A vehicle goes from point A to point B carrying 5 tons of load. Then it goes from point B to point C carrying 20 tons of load.
I'd like to calculate a single route considering all the load weights.
In the first part of the route the vehicle is lighter so it can use different roads.
Is it possible to pass a different load weight for different parts of the route?

I use the xServer .NET control and the XRoute web service to calculate the route.
qsku

Re: Different load weight for different parts of the route

Posted: Tue Jul 25, 2017 12:27 pm
by Bernd Welter
Hello qsku,

I recommend to check the following properties of the WaypointDesc class:
  • routingOptions
  • vehicleOptions
Their purpose is to define individual settings on parts of a track.
Two properties of the WaypointDesc class. They are applied between two stops then.
Two properties of the WaypointDesc class. They are applied between two stops then.
Looks like they are what you need for the usecase described above.

Best regards,
Bernd