Share As Route Layers (Network Analyst)

ArcGIS Pro 3.2 | | Help archive

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 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.

  • When using this tool in a Python script, the active portal where ArcGIS Pro was last accessed is the portal that will be used to create the route layers.

Parameters

LabelExplanationData Type
Input Network Analysis Layer or Route Data

The network analysis layer or a .zip file containing the route data from which the route layer items will be created. When the input is a network analysis layer, it should already be solved.

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 a value is not specified, 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 a value is not specified.

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 Monday morning deliveries can be used to group all route layer items created from a route analysis performed by deliveries that will be run on Monday morning. If no value is specified, the title of the route layer item will be created using only the route name.

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 specified name does not exist, a folder will be created. If a folder with the specified name exists, the items will be created in the existing folder. If a value is not specified, 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.

  • Everyone The route layer items will be public and can be accessed by anyone with the URL to the items.
  • Not shared The route layer items will only be shared with the owner of the item (the user connected to the portal when the tool is run). As a result, only the item owner can access the route layers. This is the default.
  • These groups The route layer items will be shared with groups the connected user belongs to and its members. The groups are specified using the groups parameter.
  • Organization The route layer items will be shared with all authenticated users in your organization.
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

LabelExplanationData Type
Route Layer Items

Route layer items shared in a portal.

String

Licensing information

  • Basic: Yes
  • Standard: Yes
  • Advanced: Yes

Related topics