Share As Route Layers (Network Analyst Tools)
Summary
Shares the results of network analyses as route layer items in a portal. A route layer includes all the information for a route such as the stops assigned to the route or the orders serviced by a route, as well as the travel directions.
A route layer item can be used by various applications, such as ArcGIS Navigator to provide route guidance for mobile workers, the Directions pane in Map Viewer Classic to further customize the route contained in the route layer, and ArcGIS Pro to create a route analysis layer from a route layer.
Usage
The tool creates and shares the route layer items in the portal that is designated as the active portal. The active portal must be ArcGIS Online or ArcGIS Enterprise 10.5.1 or later.
The user that is signed in to the active portal must have the necessary privileges to run spatial analysis and create content.
If a route layer item with the same name exists in the specified folder, a new item with the same name will be created. One way to avoid creating duplicate items is to use a unique Route Name Prefix value when creating route layers using this tool.
The maximum number of route layers that can be created is 1,000. If the input route data contains more than 1,000 routes, the task will fail with an error message.
Parameters
| Label | Explanation | Data type |
|---|---|---|
|
Input Network Analysis Layer or Route Data |
The network analysis layer from which the route layer items will be created. The network analysis layer should already be solved. Route, Closest facility, Vehicle routing problem, and Last mile delivery network analysis layers are supported as valid inputs to this parameter. The input can also be a |
File; Network Analyst Layer |
|
Summary (Optional) |
The summary that will be used by the route layer items. The summary is displayed as part of the item information for the route layer item. If no value is provided, default summary text—Route and directions for <route name>—is used in which <route name> is replaced with the name of the route represented by the route layer. |
String |
|
Tags (Optional) |
The tags that will be used to describe and identify the route layer items. Individual tags are separated with commas. The route name is always included as a tag even when no other value is provided. |
String |
|
Route Name Prefix (Optional) |
A qualifier that will be added to the title of every route layer item. For example, a route name prefix of |
String |
|
Portal Folder Name (Optional) |
The folder in your personal online workspace where the route layer items will be created. If a folder with the provided name does not exist, a folder will be created. If a folder with the provided name exists, the items will be created in the existing folder. If no value is provided, the route layer items will be created in the root folder of your online workspace. |
String |
|
Share with (Optional) |
Specifies who can access the route layer items.
|
String |
|
Groups (Optional) |
The list of groups with which the route layer items will be shared. This parameter is applicable only when the Share with parameter is set to These groups. |
String |
Derived output
| Label | Explanation | Data type |
|---|---|---|
|
Route Layer Items |
Route layer items shared in a portal. |
String |
Environments
Licensing information
- Basic: Yes
- Standard: Yes
- Advanced: Yes