Routing API Developer's Guide

TruckRestrictionsType

This type is used to describe which restrictions apply on a link for trucks, such as weight or height restrictions or areas where they may not go. This type is used in calculating appropriate routes for trucks.

Figure 1. TruckRestrictionsType This image shows a graphical representation of the Truck Restrictions Type.

TruckRestrictionsType defines the following elements:

Element Description
TrailerForbidden xs:boolean

Marks element as forbidden for trucks with trailers.

ForbiddenHazardousGoods HazardousGoodTypeType

Indicates forbidden hazardous materials types. Please refer to the enumeration type HazardousGoodTypeType for available values.

LimitedWeight WeightType

Indicates maximum weight in tons.

WeightPerAxle WeightType

Indicates maximum weight per axle in tons.

Height xs:double

Indicates maximum truck height in meters.

Width xs:double

Indicates maximum truck width in meters.

Length xs:double

Indicates maximum truck length in meters.

TunnelCategory xs:string

Indicates the category of the tunnel on the link (B|C|D|E).

ConditionalRestriction ConditionalTruckRestrictionType

List of restrictions dependent on certain truck profile or time.

ConditionalTruckRestrictionType

This type describes truck restrictions which are restricted only to trucks of certain profile or are valid only at certain time.

The conditional restriction consists of two categories of the elements. First category comprises elements LimitedWieght, WeightPerAxle, Height, Width, Length and AccessForbidden. These elements constitute a logical type of the conditional restriction therefore each conditional restriction includes exactly one element of this category. Second category comprises condition elements which limit restriction applicability to certain trucks or to certain periods of time. The condition elements include TruckProfile, TimeDependent and ValidityPeriod.

ConditionalTruckRestrictionType defines the following elements:

Element Description
LimitedWeight WeightType

Indicates maximum weight in tons.

WeightPerAxle WeightType

Indicates maximum weight per axle in tons.

Height xs:double

Indicates maximum truck height in meters.

Width xs:double

Indicates maximum truck width in meters.

Length xs:double

Indicates maximum truck length in meters.

AccessForbidden xs:boolean

Indicates that trucks are not allowed to pass.

TruckProfile TruckRestrictionConditionType

Specifies what trucks the restriction applies to.

TimeDependent xs:boolean

Indicates that the restriction is valid only in certain periods.

ValidityPeriod RecurringTimeIntervalsCombinationType

Time intervals at which the restriction applies.

TruckRestrictionConditionType

This type describes the condition on the truck profile parameters. It constrains the restriction applicability to trucks of a certain profile. The truck matches the profile only when it meets all specified constraints.

TruckRestrictionConditionType defines the following elements:

Element Description
TruckType TruckTypeType

Constrains the restriction to a certain type of truck. Enum [truck | tractorTruck].

TrailersCount xs:unsignedByte

Constrains the restriction to trucks with specified or greater number of trailers.

HazardousGood HazardousGoodTypeType

Constrains the restriction to trucks shipping specified hazardous good.

TunnelCategory xs:string

Constrains the restriction to trucks shipping hazardous goods forbidden by specified tunnel category (B|C|D|E).