erm createroadtypeupdate

Note: For instructions on installing and running the Administration Utility, see Getting Started with the Administration Utility.
The erm createroadtypeupdate command overrides the routing data of the specified road type. This command allows you to set or change the speed of the route for the particular road type. You must have the Spatial Module installed to use this command.
Note: The type of persistent update is valid only for the specified data resource and may not be valid after a data update.

Usage

erm createroadtypeupdate --datasource db_resource --roadtype "road_type" --velocity velocity_value --velocityunit velocity_unit --velocityadjustment velocity_adjustment_value --velocitypercentage velocity_percentage_value --roadtype road_type
Note: To see a list of parameters, type help erm createroadtypeupdate.
RequiredArgumentDescription
Yes--datasource db_resource

Specifies the name of the database resource to override the data. For a list of existing routing database resources, use the ermdb list command.

Yes--roadtype "road_type"

Indicates the road type to override:

  • access way
  • back road
  • connector
  • ferry
  • footpath
  • limited access dense urban
  • limited access rural
  • limited access suburban
  • limited access urban
  • local road dense urban
  • local road rural
  • local road suburban
  • local road urban
  • major local road dense urban
  • major local road rural
  • major local road suburban
  • major local road urban
  • major road dense urban
  • major road rural
  • major road suburban
  • major road urban
  • minor local road dense Urban
  • minor local road rural
  • minor local road suburban
  • minor local road urban
  • normal road dense urban
  • normal road rural
  • normal road rural
  • normal road urban
  • primary highway dense urban
  • primary highway rural
  • primary highway suburban
  • primary highway urban
  • ramp dense urban
  • ramp limited access
  • ramp major road
  • ramp primary highway
  • ramp rural
  • ramp secondary highway
  • ramp urban
  • ramp suburban
  • secondary highway dense urban
  • secondary highway rural
  • secondary highway suburban
  • secondary highway urban
No--velocity velocity_value

Defines a speed update where you specify the new speed of the road type by specifying the new velocity. The default unit is mph(miles per hour) unless you specify the velocityunit parameter.

No--velocityunit velocity_unit

Defines a unit of speed for the velocity or velocityadjustment overrides. The default is mph(miles per hour). For speed updates, the velocity unit can have one of the following values: kph (kilometers per hour), mps(meters per second), or mph (miles per hour).

No--velocityadjustment velocity_adjustment_value

Defines a speed update where you define a change in the speed of the road type by specifying the change in velocity (unit and value). Speed values can be increased (positive value) or decreased(negative value). The default unit is mph(miles per hour) unless you specify the velocityunit parameter.

No--velocitypercentage velocity_percentage_value

Defines a speed update where you define an increase in the speed of the road type by specifying a percentage to increase(positive value) or decrease(negative value) the speed.

Examples

This example overrides the speed of a road type to 25 kph, from the US_NE database resources configured on the server.

erm createroadtypeupdate --datasource US_NE --roadtype "normal road suburban" --velocity 25 --velocityunit kph

This example increases the speed of the specified road type by 50 kph, from the US_NE database resources configured on the server.

erm createroadtypeupdate --datasource US_NE --roadtype "normal road suburban" --velocityadjustment 50 --velocityunit mph

This example overrides the speed of the road type by decreasing the speed by 65 percent, from the US_NE database resources configured on the server.

erm createroadtypeupdate --datasource US_NE --roadtype "normal road suburban" --velocitypercentage -65