Segment Options
This set of preferences allows you to set the segment updates for each persistent update. Segment updates are changes applied to a corresponding route segment ID. For a particular segment, you can: exclude the segment, set the speed of the segment, change (increase or decrease) the speed of the segment by a value or percentage, or change the road type of the segment.
You can add multiple segments at a time by clicking the plus icon in the Add Segment Update dialog and select the desired update to be applied. While modifying, the selected segments and the corresponding updates will be displayed, however you can not change the segment IDs. When modifying multiple segments, and those segments have different values for updates, then the default value of each update will be displayed, essentially overwriting all values for the selected segments.
You must specify a RoutingSegmentID, then specify the type of segment update. Each request can contain one or more updates.
Option Parameter |
Description |
---|---|
Select Database |
The name of the database that contains the data to use in the update process. Use the database name specified in the Spectrum Spatial Routing Database Resource tool. For more information, see the Spectrum Technology Platform Administration Guide. |
Coordinate System |
The coordinate system of the input coordinates. For more information on EPSG codes, see www.spatialreference.org. To retrieve a list of supported codespaces for EPSG, you can submit the SOAP request List Supported CoordSys by Code Space from the Geometry Service Demo page at |
Add Segment ID RoutingSegmentID |
The route segment ID to perform the persistent update. You can add multiple segments at a time by clicking the plus and select the desired update to be applied. When adding the segment ID you also have a tool to add the segment IDs based on a known point. By selecting the Do not know Segment ID? link, you can enter the latitude and longitude of a point, and then choose from the closest segment IDs to the point. |
Exclude |
This is a string value to exclude the specified segment from all route calculations. To exclude a segment you need to specify the segment ID and include the Exclude parameter defined as Y. Valid values are Y (yes) and N (no). Select this to exclude the specified segments from all route calculations. |
Road Type RoadType |
Select the road type from the drop down list to change the value of the road type for the segments. This is a string value to change the value of the road type for the segment for the route calculation. The RoadType can be one of the following:
|
Override 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). Select this to set the new speed of the specified segments for all route calculations. Define the new Speed, and set the Speed Unit (kilometers per hour, miles per hour, meters per minute, or meters per second). |
Increase or Decrease |
Select this to increase or decrease the speed of the specified segments by a defined velocity. Define the amount to increase or decrease the Speed, and set the Speed Unit (kilometers per hour, miles per hour, meters per minute, or meters per second). |
Percentage Change |
Select this to increase or decrease the speed of the specified segments by a defined percentage of the segements current velocity. Define the percentage (positive or negative) to increase or decrease the speed. |
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). |