Different load weight for different parts of the route

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
qsku
Posts: 9
Joined: Thu Jun 16, 2016 8:08 am

Different load weight for different parts of the route

Post 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
User avatar
Bernd Welter
Site Admin
Posts: 2695
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: Different load weight for different parts of the route

Post 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
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