Share As Route Layers (Network Analyst)

This ArcGIS 2.8 documentation has been archived and is no longer updated. Content and links may be outdated. See the latest documentation.

Summary

Shares the results of network analyses as route layer items in a portal. A route layer includes all the information for a particular 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 field workers, the Directions pane in Map Viewer to further customize the route contained in the route layer, or ArcGIS Pro to create a new 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 already 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 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 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 are created. When the input is a network analysis layer, it should already be solved.

File; Network Analyst Layer
Summary
(Optional)

The summary 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, where <route name> is replaced with the name of the route represented by the route layer.

String
Tags
(Optional)

The tags 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 added to the title of every route layer item. For example, a route name prefix Monday morning deliveries can be used to group all route layer items created from a route analysis performed by deliveries that should be executed on Monday morning. If a value is not specified, the title of the route layer item is 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 are created in the root folder of your online workspace.

String
Share with
(Optional)

Specifies who can access the route layer items. The parameter can be specified using the following keywords:

  • 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 option 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