Limit fields

Top  Previous  Next

It is possible to define 2 kinds of route restrictions for links in the network:

 

A scalar quantity such as a maximum weight, height, width etc. If the limit for a certain link in the network is 100 and you calculate a route for a vehicle with a value >100, that link will be avoided in the route. It is mandatory to scale your limits into the 1-255 range.

 

A bit pattern for defining special links such as ferries, toll roads etc. which you may want to avoid in your routing. If the limit for a link is 3 = 00000011 it may mean it is both a ferry and a toll "road". If your value has either bit 1 or 2 set, that link will be avoided in the route.

 

You can have 3 scalar limits and 1 bitpattern with 8 bits in RW Studio.

 

For both types, a link value of 0 means no limitations at all.