PTV_RoadAttributes

Customizable road attributes

Properties

id description unit type null value default value
opening

If 0 the segment is closed, if 1 the segment is open according the vehicle profile, otherwise nothing.

- INT_32 -1 -1
customRoadClass

CUSTOM_ROAD_CLASS_1 to CUSTOM_ROAD_CLASS_5: Customer-defined road classes, which can be used to prefer or restrict particular road segments.

- UINT_8 0 0
maxHeight

The maximum vehicle height allowed.

cm UINT_32 -1 -1
maxWeight

The maximum vehicle weight allowed, including trailer.

kg UINT_32 -1 -1
maxWidth

The maximum vehicle width allowed.

cm UINT_32 -1 -1
maxLength

The maximum vehicle length allowed.

cm UINT_32 -1 -1
extraDrivingTime

The extra driving time to add on a segment in milliseconds.

ms UINT_32 0 0
absoluteSpeed

The absolute speed on the road segments to consider.

km/h UINT_8 -1 -1
note

A annotation for the segment.

- STRING -1 -1
relativeSpeed

The speed percentage to apply on the considered road segments.

- UINT_8 -1 -1
loadType

The vehicle's load type for which the restriction is effective (0=Passengers, 1=Goods).

- INT_8 -1 -1
tunnelRestriction

The tunnel restriction code

- INT_32 -1 -1
hazardousToWaters

Not allowed for vehicles carrying goods hazardous to waters

- BOOL 0 0
hazardousGoods

Not allowed for vehicles carrying hazardous goods

- BOOL 0 0
combustibles

Not allowed for vehicles carrying combustibles

- BOOL 0 0
maxAxleLoad

The maximum axle load allowed

kg INT_32 -1 -1
totalPermittedWeight

The vehicle's total permitted weight (including trailer), above which the restriction is effective.

kg INT_32 -1 -1

Rules

id description priority actionId action values
ptvRA_NA_0 Opens a road segment for truck profiles. 100 SET_NETWORK_ATTRIBUTES 6|@opening
ptvRA_DC_0 Returns a display class named BlockVehicles, with the corresponding opening value, for all vehicle profiles (FeatureLayer Rendering). 100 SET_DISPLAY_CLASS BlockVehicles|@opening|-1|@isTimeDependent
ptvRA_NA_1 Opens a road segment for car profiles. 100 SET_NETWORK_ATTRIBUTES 5|@opening
ptvRA_DC_1 Returns a display class named UnblockVehicles, with the corresponding opening value, for all vehicle profiles (FeatureLayer Rendering). 100 SET_DISPLAY_CLASS UnblockVehicles|@opening|-1|@isTimeDependent
ptvRA_BM_0 When opening a road, resets bonus or malus that is possibly inherited from the profile or from a Feature Layer of the map. 90 BONUS_MALUS 0
ptvRA_BM_1 Applies a blocking malus to the roads, when segment is closed. 100 BONUS_MALUS 2501
ptvRA_BM_2 Applies a bonus to the roads for all vehicles, when the road is part of one of the vehicle's preferred route networks. 100 BONUS_MALUS -75
ptvRA_DC_2 Returns a display class named NetworkType, with the corresponding network's classification value (FeatureLayer Rendering). 100 SET_DISPLAY_CLASS NetworkType|@customRoadClass
ptvRA_DC_3 Returns a display class named PreferredRouteType, with the corresponding network's classification value, when the road is part of one of the vehicle's preferred route networks (FeatureLayer Rendering). 100 SET_DISPLAY_CLASS PreferredRouteType|@customRoadClass
ptvRA_BM_3 Deactivate previous penalties for all vehicles, when the road is part of one of the vehicle's normal route networks. 100 BONUS_MALUS 0
ptvRA_DC_4 Returns a display class named UnrestrictedRouteType, with the corresponding network's classification value, when the road is part of one of the vehicle's normal route networks (FeatureLayer Rendering). 100 SET_DISPLAY_CLASS UnrestrictedRouteType|@customRoadClass
ptvRA_BM_4 Applies a malus to the roads for all vehicles, when the road is part of one of the vehicle's restricted route networks. 100 BONUS_MALUS 1000
ptvRA_DC_5 Returns a display class named RestrictedNetworkType, with the corresponding network's classification value, when the road is part of one of the vehicle's restricted route networks (FeatureLayer Rendering). 100 SET_DISPLAY_CLASS RestrictedRouteType|@customRoadClass
ptvRA_BM_5 Applies a malus to the roads for all vehicles, when the road is part of one of the vehicle's highly restricted route networks 100 BONUS_MALUS 2500
ptvRA_DC_6 Returns a display class named HighlyRestrictedNetworkType, with the corresponding network's classification value, when the road is part of one of the vehicle's highly restricted route networks (FeatureLayer Rendering). 100 SET_DISPLAY_CLASS HighlyRestrictedRouteType|@customRoadClass
ptvRA_BM_6 Blocks a road segment for any kind of vehicle exceeding a given height. 100 BONUS_MALUS 2501
ptvRA_DC_7 Returns a display class named MaxHeight, with the actual maximum height value (FeatureLayer Rendering). 100 SET_DISPLAY_CLASS MaxHeight|@maxHeight|-1|@isTimeDependent
ptvRA_BM_7 Blocks a road segment for any kind of vehicle exceeding a given weight. 100 BONUS_MALUS 2501
ptvRA_DC_8 Returns a display class named MaxWeight, with the actual maximum weight value (FeatureLayer Rendering). 100 SET_DISPLAY_CLASS MaxWeight|@maxWeight|-1|@isTimeDependent
ptvRA_BM_8 Blocks a road segment for any kind of vehicle exceeding a given width. 100 BONUS_MALUS 2501
ptvRA_DC_9 Returns a display class named MaxWidth, with the actual maximum width value (FeatureLayer Rendering). 100 SET_DISPLAY_CLASS MaxWidth|@maxWidth|-1|@isTimeDependent
ptvRA_BM_9 Blocks a road segment for any kind of vehicle exceeding a given length. 100 BONUS_MALUS 2501
ptvRA_DC_10 Returns a display class named MaxLength, with the actual maximum length value (FeatureLayer Rendering). 100 SET_DISPLAY_CLASS MaxLength|@maxLength|-1|@isTimeDependent
ptvRA_EDT_0 Returns the extra driving time on a segment. 100 SET_EXTRA_DRIVING_TIME @extraDrivingTime
ptvRA_DC_11 Returns a display class named ExtraDrivingTime, with the corresponding extra driving time, at a given datetime (FeatureLayer Rendering). 100 SET_DISPLAY_CLASS ExtraDrivingTime|@extraDrivingTime|-1|@isTimeDependent
ptvRA_AS_0 Returns the speed on the road segments to consider, at consideration time. 100 SET_ABSOLUTE_SPEED @absoluteSpeed
ptvRA_DC_12 Returns a display class named AbsoluteSpeed, with the road speed considered, at a given datetime (FeatureLayer Rendering). 100 SET_DISPLAY_CLASS AbsoluteSpeed|@absoluteSpeed|-1|@isTimeDependent
ptvRA_DC_13 Returns a display class named Note (FeatureLayer Rendering). 100 SET_DISPLAY_CLASS Note|@note|-1|@isTimeDependent
ptvRA_RS_0 Returns the speed percentage applied on the road segments to consider, at consideration time. 100 SET_RELATIVE_SPEED @relativeSpeed
ptvRA_DC_14 Returns a display class named RelativeSpeed, with the road speed percentage considered, at a given datetime (FeatureLayer Rendering). 100 SET_DISPLAY_CLASS RelativeSpeed|@relativeSpeed|-1|@isTimeDependent
ptvRA_BM_10 Closed for vehicles with an unauthorized tunnel restriction code, when carrying dangerous goods or explosives. 100 BONUS_MALUS 2501
ptvRA_DC_15 Returns a display class named TunnelRestriction, with the corresponding tunnel restriction code (FeatureLayer Rendering). 100 SET_DISPLAY_CLASS TunnelRestriction|@tunnelRestriction|-1|@isTimeDependent
ptvRA_BM_11 Closed for all vehicles carrying material hazardous to waters. 100 BONUS_MALUS 2501
ptvRA_DC_16 Returns a display class named HazardousToWaters (FeatureLayer Rendering). 100 SET_DISPLAY_CLASS HazardousToWaters|-1|-1|@isTimeDependent
ptvRA_DC_16b Returns a display class named HazardousToWaters (FeatureLayer Rendering). 100 SET_DISPLAY_CLASS HazardousToWaters|-1|-1|@isTimeDependent
ptvRA_BM_12 Closed for all vehicles carrying hazardous material. 100 BONUS_MALUS 2501
ptvRA_DC_17 Returns a display class named HazardousGoods (FeatureLayer Rendering). 100 SET_DISPLAY_CLASS HazardousGoods|-1|-1|@isTimeDependent
ptvRA_BM_13 Closed for all vehicles carrying explosive material. 100 BONUS_MALUS 2501
ptvRA_DC_18 Returns a display class named Combustibles (FeatureLayer Rendering). 100 SET_DISPLAY_CLASS Combustibles|-1|-1|@isTimeDependent
ptvRA_DC_18b Returns a display class named Combustibles (FeatureLayer Rendering). 100 SET_DISPLAY_CLASS Combustibles|-1|-1|@isTimeDependent
ptvRA_BM_14 Blocks a road segment for any kind of vehicle exceeding a given weight for the axle load. 100 BONUS_MALUS 2501
ptvRA_DC_19 Returns a display class named MaxAxleLoad, with the actual maximum axle load value (FeatureLayer Rendering). 100 SET_DISPLAY_CLASS MaxAxleLoad|@maxAxleLoad|-1|@isTimeDependent