Discover the shortest path

The shortest path between two starting points can be identified with the Trace tool using the Shortest path trace type. The shortest path is calculated using a numeric network attribute such as shape length. Cost- or distance-based paths can be achieved with a shortest path trace.

To learn more, see Utility network trace types.

Requirements

To perform a shortest path trace, the following requirements must be met:

  • Two starting points must be placed on network features.
  • The network topology must be enabled.
  • When working with an enterprise geodatabase, the Input Utility Network parameter must be from a utility network service.

Trace the shortest path

  1. Ensure the utility network is available in an active map view and click the Utility Network tab.
    Utility Network tab

    The Utility Network tab is activated.

  2. Ensure that two starting points exist. In the Tools group, click the Trace command to open the Trace pane. Set two Starting Points to use in the trace.
  3. On the Utility Network tab, in the Tools group, click Shortest Path in the tools gallery.
    Tools group
    Tip:

    Use the down arrow to browse within the tools gallery for Shortest Path.

    The Trace tool opens for the utility network in the active map using the specific Trace Type.

  4. Specify a Shortest Path Network Attribute Name to be used to calculate the shortest path or cost of travel between the two starting points. Use a numeric network attribute such as Shape length.
  5. Apply additional configuration parameters as needed. Reference the Trace tool for a full list of tool parameters. Also see Configure a trace.
  6. Click Run.

Features participating in the shortest path between the two starting points are returned.