erm createpointupdate
Usage
erm createpointupdate --datasource db_resource --point "x,y,coordsys" --exclude --velocity velocity_value --velocityunit velocity_unit --velocityadjustment velocity_adjustment_value --velocitypercentage velocity_percentage_valueRequired | Argument | Description |
---|---|---|
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 | --point "x,y,coordsys" |
Indicates the point to override the closest segment information. The point is specified in the format "x,y,coordsys", where coordsys is the coordinate system of the point. |
No | --exclude |
Excludes the specified point from all route calculations when set as true. Having this parameter in the command specifies whether to exclude the point. To avoid the exclusion, add false after --exclude. |
No | --velocity velocity_value |
Defines a speed update where you specify the new speed of the point 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 point 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 point by specifying a percentage to increase(positive value) or decrease(negative value) the speed. |
Examples
This example overrides the speed of the point to 15 mph, from the US_NE database resources configured on the server.
erm createpointupdate --datasource US_NE --point "-72,40,epsg:4326" --velocity 15 --velocityunit mphThis example excludes the specified point from the US_NE database resources configured on the server.
erm createpointupdate --datasource US_NE --point "-72,40,epsg:4326" --exclude trueThis example overrides the speed of the point by increasing the speed by 45 kph, from the US_NE database resources configured on the server.
erm createpointupdate --datasource US_NE --point "-72,40,epsg:4326" --velocityadjustment 45 --velocityunit kphThis example overrides the speed of the point by decreasing the speed by 60 percent, from the US_NE database resources configured on the server.
erm createpointupdate --datasource US_NE --point "-72,40,epsg:4326" --velocitypercentage -60