Label | Explanation | Data Type |
Network Data Source | The network dataset or service on which the network analysis will be performed. Use the portal URL for a service. | Network Dataset Layer;String |
Layer Name (Optional) | The name of the network analysis layer to create. | String |
Travel Mode (Optional) | The name of the travel mode to use in the analysis. The travel mode represents a collection of network settings, such as travel restrictions and U-turn policies, that determine how a pedestrian, car, truck, or other medium of transportation moves through the network. Travel modes are defined on your network data source. An arcpy.na.TravelMode object and a string containing the valid JSON representation of a travel mode can also be used as input to the parameter. | String |
Sequence (Optional) | Specifies whether the input stops must be visited in a particular order when calculating the optimal route. This option changes the route analysis from a shortest-path problem to a traveling salesperson problem (TSP).
| String |
Time of Day (Optional) | The start date and time for the route. Route start time is typically used to find routes based on the impedance attribute that varies with the time of the day. For example, a start time of 7:00 a.m. could be used to find a route that considers rush hour traffic. The default value for this parameter is 8:00 a.m. A date and time can be specified as 10/21/05 10:30 AM. If the route spans multiple days and only the start time is specified, the current date is used. Instead of using a particular date, a day of the week can be specified using the following dates:
For example, to specify that travel should begin at 5:00 p.m. on Tuesday, specify the parameter value as 1/2/1900 5:00 PM. After the solve, the start and end times of the route are populated in the output routes. These start and end times are also used when directions are generated. | Date |
Time Zone
(Optional) | Specifies the time zone of the Time of Day parameter.
| String |
Line Shape
(Optional) | Specifies the shape type for the route features that are output by the analysis.
| String |
Accumulate Attributes (Optional) | A list of cost attributes to be accumulated during analysis. These accumulated attributes are for reference only; the solver only uses the cost attribute used by your designated travel mode when solving the analysis. For each cost attribute that is accumulated, a Total_[Impedance] property is populated in the network analysis output features. This parameter is not available if the network data source is an ArcGIS Online service or the network data source is a service on a version of Portal for ArcGIS that does not support accumulation. | String |
Generate Directions on Solve
(Optional) | Specifies whether directions will be generated when running the analysis.
For an analysis in which generating turn-by-turn directions is not needed, leaving this option unchecked will reduce the time it takes to solve the analysis. | Boolean |
Time Zone
for Time Fields (Optional) | Specifies the time zone that will be used to interpret the time fields included in the input tables, such as the fields used for time windows.
| String |
Derived Output
Label | Explanation | Data Type |
Network Analyst Layer | The output network analysis layer. | Network Analyst Layer |