erm getsegmentupdates
Note: For instructions on installing and running the Administration Utility, see
Getting Started with the Administration Utility.
The erm
getsegmentupdates command returns a list of overrides in the routing data for the
specified segments. You must have Spectrum Spatial installed to use this
command.Note: segmentids is an optional parameter. If no segment ids are specified, then overrides for all available segments are returned.
Usage
erm getsegmentupdates --datasource db_resource --segmentids "segment_ids" --velocityunit velocityunitNote: To see a list of parameters, type help erm getsegmentupdates.
Required | Argument | Description |
---|---|---|
Yes | --datasource db_resource |
Specifies the name of the database resource that has overrides. For a list of existing routing database resources, use the ermdb list command. |
No | --segmentids "segment_ids" |
A comma separated list of segment ids to return override information. Segments are specified in the format specified in the data. For example, "7e3396fc:6e5251". |
No | --velocityunit velocityunit | Specifies the velocity unit to appear in the response (mph - miles per hour, kph - kilometers per hour, mtps - meters per second, and mtpm - meters per minute). The default is mph. |
Example
This example returns the overrides for a segment, from the US_NE database resources configured on the server.
erm getsegmentupdates --datasource US_NE --segmentids "7e3396fc:6e5251" --velocityunit kph