Make Waste Collection Analysis Layer (Network Analyst Tools)
Summary
Creates a waste collection network analysis layer and sets its analysis properties. A waste collection analysis layer is useful for optimizing a set of routes using a fleet of vehicles to pick up municipal waste. The layer can be created using a network dataset.
Usage
This tool is typically used as the first step in a network analysis workflow. Once the layer is created, you can add inputs to it using the Add Locations tool and solve the analysis using the Solve tool.
The analysis network used for a waste collection analysis must have at least one travel mode, one cost attribute with time units, and one cost attribute with distance units.
By default, the new analysis layer's data will be created in a new, automatically-named feature dataset in the Current Workspace geoprocessing environment, which is usually the project geodatabase. Table-based data will be created at the root level of the same geodatabase because tables cannot be stored in a feature dataset. You can override this behavior using the Analysis Geodatabase and Analysis Feature Dataset Name parameters.
Although this tool can be used in a Python script, the recommended best practice for performing network analysis in Python is to use the solver classes in the
arcpy.naxmodule instead.
Parameters
| Label | Explanation | Data type |
|---|---|---|
|
Network Data Source |
The network dataset or service on which the network analysis will be performed. The parameter can be specified using the following:
The network must have at least one travel mode, one cost attribute with time units, and one cost attribute with distance units. |
Network Dataset Layer; String |
|
Layer Name (Optional) |
The name of the network analysis layer that will be created. |
String |
|
Travel Mode (Optional) |
The name of the travel mode that will be used 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 The travel mode's impedance attribute must have units of time. For waste collection analysis, U-turns must be allowed at dead ends. If the travel mode does not allow any U-turns, the solver will relax the travel mode's U-turn policy to allow U-turns at dead ends. |
String |
|
Time Units (Optional) |
Specifies the time units that will be used by the analysis layer's properties and the temporal fields of the analysis layer's sublayers and tables (network analysis classes). This value does not need to match the units of the time cost attribute.
|
String |
|
Distance Units (Optional) |
Specifies the distance units that will be used by the analysis layer's properties and the distance fields of the analysis layer's sublayers and tables (network analysis classes). This value does not need to match the units of the optional distance cost attribute.
|
String |
|
Route Start Time (Optional) |
The default start time for routes. This time of day is used for all routes for which the Although you can specify both a date and a time for this parameter, only the time is used. |
Date |
|
Max Route Total Time (Optional) |
The maximum allowed total time for each route. The value can be any positive number. This value will be used for all routes for which the The value is interpreted in the units specified in the Time Units parameter. |
Double |
|
Stop Collection Mode (Optional) |
Specifies the default stop collection mode for each stop. This value can be one of the options listed below, or it can be left blank (the default). This value will be used for all stops for which the
|
String |
|
Analysis Geodatabase (Optional) |
The file geodatabase workspace where the new network analysis layer's sublayer data will be stored. When this parameter is not specified, the sublayer data will be created in the Current Workspace geoprocessing environment, which is usually the project geodatabase. Learn more about the analysis data source of a network analysis layer |
Workspace |
|
Analysis Feature Dataset Name (Optional) |
The name to use for the new feature dataset that the tool will create in the analysis geodatabase to store the network analysis layer's sublayer data. When not specified, the feature dataset will be created with a random unique name. Learn more about the analysis data source of a network analysis layer |
String |
Derived output
| Label | Explanation | Data type |
|---|---|---|
|
Network Analyst Layer |
The new network analysis layer. |
Network Analyst Layer |
Environments
Licensing information
- Basic: Yes
- Standard: Yes
- Advanced: Yes