The RouteParameters type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| AccumulateAttributes | The list of network attribute names to be accumulated with the analysis, i.e. which attributes should be returned as part of the response.
If missing or value is null, the server will use default defined in the network layer.
| |
| Barriers | The set of barriers loaded as network locations during analysis. The value is a FeatureSet | |
| DirectionsLanguage | The language used when computing directions. If missing or value is null, the server will use default defined in the network layer. The value is a string. | |
| DirectionsLengthUnits | The length units to use when computing directions. If missing or value is null, the server will use default defined in the network layer. The value is an ESRI.ArcGIS.VE.Unit | |
| DirectionsTimeAttribute | The name of network attribute to use for the drive time when computing directions. If missing or value is null, the server will use default defined in the network layer. The value is a string. | |
| DoNotLocateOnRestrictedElements | If true, do not locate on restricted elements. Default value is false | |
| FindBestSequence | If true, the solver optimizes the order of the stops in the route while taking into account PreserveFirstStop
and PreserveLastStop, if they are set to true. If missing or value is null, the server will use default defined in the network layer used in the RouteTask. | |
| IgnoreInvalidLocations | If true, then ignore invalid locations, false otherwise. If missing or value is null, the server will use default defined in the network layer. | |
| ImpedanceAttribute | The network attribute name to be used as the impedance attribute in analysis.
If missing or value is null, the server will use default defined in the network layer. | |
| OutputGeometryPrecision | The precision of the output geometry after generalization.
If 0, no generalization of output geometry is performed. The default is as defined in the network service configuration.
If present and positive, it represents the MaximumAllowableOffset parameter - generalization is performed according to IPolycurve.Generalize. | |
| OutputGeometryPrecisionUnits | The units of the output geometry precision. The default value is Unit.UNKNOWN. | |
| OutputLines | The type of output lines to be generated in the result. If missing or value is null, the server will use default defined in the network layer. The value type is NAOutputLine | |
| PreserveFirstStop | If true, the solver should keep the first stop fixed in the sequence. If missing or value is null, the server will use default defined in the network layer. | |
| PreserveLastStop | If true, the solver should keep the last stop fixed in the sequence. If missing or value is null, the server will use default defined in the network layer. | |
| RestrictionAttributes | The list of network attribute names to be used as restrictions with the analysis. If missing or value is null, the server will use default defined in the network layer.
The value should be specified as a comma separated list of attribute names. You can also specify a value of none to indicate that no network attributes should be used as restrictions.
| |
| RestrictUTurns | Specifies how U-Turns should be restricted in the analysis. If missing or value is null, the server will use default defined in the network layer. Value type is NAUTurn. | |
| ReturnBarriers | If true, barriers will be returned with the analysis results. Default is false. | |
| ReturnDirections | If true, directions will be generated and returned with the analysis results. Default is true. | |
| ReturnRoutes | If true, routes will be returned with the analysis results. Default is true. | |
| ReturnStops | If true, stops will be returned with the analysis results. Default is false. | |
| StartTime | A string representing the time the route begins. If not specified, the solver will not start the route at a particular time.
The time should be specified as a numeric value representing the milliseconds since midnight January 1, 1970. It can be a negative number.
You can also specify a value of "none" to indicate that a start time should not be used. | |
| Stops | FeatureSet containing GraphicFeatures representing locations for stops to be used in solving route. | |
| UseHierarchy | If true, the hierarchy attribute for the network should be used in analysis. If missing or value is null, the server will use default defined in the network layer. | |
| UseTimeWindows | If true, the solver should consider time windows. If missing or value is null, the server will use default defined in the network layer. |
