Road-type Options

This set of preferences allows you to set the road type updates for each persistent update. Road type updates are changes applied to a corresponding road type. For a particular road type, you can: set the speed of the roadtype, or change (increase or decrease) the speed of the road type by a value or percentage.

You must specify a RoadType, then specify the type of update. Each request can contain one or more updates.

Table 1. Road Type Update Options

Parameter

Description

RoadType

This is a string value to change the speed value of the road type for the route calculation.

The road type can be one of the following:

  • AccessWay
  • Backroad
  • Connector
  • Ferry
  • Footpath
  • LimitedAccessDenseUrban
  • LimitedAccessRural
  • LimitedAccessSuburban
  • LimitedAccessUrban
  • LocalRoadDenseUrban
  • LocalRoadRural
  • LocalRoadSuburban
  • LocalRoadUrban
  • MajorLocalRoadDenseUrban
  • MajorLocalRoadRural
  • MajorLocalRoadSuburban
  • MajorLocalRoadUrban
  • MajorRoadDenseUrban
  • MajorRoadRural
  • MajorRoadSuburban
  • MajorRoadUrban
  • MinorLocalRoadDenseUrban
  • MinorLocalRoadRural
  • MinorLocalRoadSuburban
  • MinorLocalRoadUrban
  • NormalRoadDenseUrban
  • NormalRoadRural
  • NormalRoadSuburban
  • NormalRoadUrban
  • PrimaryHighwayDenseUrban
  • PrimaryHighwayRural
  • PrimaryHighwaySuburban
  • PrimaryHighwayUrban
  • RampDenseUrban
  • RampLimitedAccess
  • RampMajorRoad
  • RampPrimaryHighway
  • RampRural
  • RampSecondaryHighway
  • RampSuburban
  • RampUrban
  • SecondaryHighwayDenseUrban
  • SecondaryHighwayRural
  • SecondaryHighwaySuburban
  • SecondaryHighwayUrban

Velocity

This is a speed update where you define the new speed of the segment by specifying the velocity unit and new velocity. For speed updates, the velocity unit can have one of the following values: kph (kilometers per hour), mph (miles per hour), mtps (meters per second), mtpm (meters per minute).

SpeedIncrease

This is a speed update where you define an increase in the speed of the segment by specifying either the velocity (unit and value) or a percentage to increase the speed. For speed updates, the velocity unit can have one of the following values: kph (kilometers per hour), mph (miles per hour), mtps (meters per second), mtpm (meters per minute).

SpeedDecrease

This is a speed update where you define a decrease in the speed of the segment by specifying either the velocity (unit and value) or a percentage to decrease the speed. For speed updates, the velocity unit can have one of the following values: kph (kilometers per hour), mph (miles per hour), mtps (meters per second), mtpm (meters per minute).