Generate data and publish trace

The steps below describe how to download and configure your system data, and publish the results to ArcGIS Enterprise.

Create a geometric network geodatabase

Now that you have the required maps and apps, you need to download, configure, and publish the isolation trace to ArcGIS Enterprise.

  1. Start ArcCatalog and browse to the Water Outage Components folder.
  2. Expand the Tools folder and click the GeometricNetworkTools toolbox Python Toolbox.
  3. In the GeometricNetworkTools toolbox, double-click the Create Geometric Network Geodatabase tool to open the tool dialog box.
  4. Update the tool with the following parameter information:
    1. Set the Input classes parameter to the following feature classes:

      • FireHydrant
      • Fitting
      • FlowValve
      • HydrantValve
      • Main
      • PressureReducingStation
      • PressureValve
      • Pump
      • Service
      • ServiceConnection
      • ServiceMeter
      • ServiceValve
      • Storage
      • Supply
      • SystemMeter
      • SystemValve

    2. Set the Split Intersecting Lines option to Yes for SystemValve.

    3. Set the Output Folder location.
    4. Set Geodatabase Name to Outage.
  5. Run the tool.

Find disconnected features from sources

To review the state of your network, the Find Disconnected Features From Sources tool reviews your geometric network to find features that are not connected to the source.

  1. In ArcCatalog, or the Catalog window in ArcMap, browse to the Water Outage Components folder.
  2. Expand the Tools folder and click the GeometricNetworkTools toolbox Python Toolbox.
  3. In the GeometricNetworkTools toolbox, double-click the Find Disconnected Features from Sources tool to open the tool dialog box.
  4. Update the tool with the following parameter information:
    1. Set the Geometric Network parameter to the geometric network you'll use in the isolation trace.
    2. Set the Network controllers parameter to the following feature classes:

      • Storage
      • Supply

  5. Run the tool.

    When complete, the tool dialog box shows the number of disconnected features by feature class.

  6. Review the PointErrors and PolylineErrors feature classes to find the disconnected features to update.

Generate a web isolation trace

The Generate Web Isolation Trace Toolbox tool is used to create the Isolation Trace toolbox and tool configured for your water network data. The resulting toolbox uses the parameters that you specified in the Generate Web Isolation Trace Toolbox tool to set parameters such as the types of asset flags and barriers should be snapped to, features that will end a trace, and the feature classes that should be returned in the result of an isolation trace.

  1. In ArcCatalog, browse to the Tools folder to view the GeometricNetworkTools toolbox.
  2. In the GeometricNetworkTools toolbox Python Toolbox, double-click Generate Web Isolation Trace Toolbox to open the tool dialog box.
  3. Update the tool with the following parameter information:
    1. Set the Geometric Network parameter to the geometric network you'll use in the isolation trace.
    2. Set the Network controllers parameter to Storage and Supply.
    3. Set the Flag and Barrier snapping feature classes parameter to Main.
    4. Set the Snapping Tolerance parameter to 50 Feet.
    5. Set the Isolating feature classes parameter to SystemValve.
    6. Set the Trace Result feature classes parameter to the following feature classes:

      • FireHydrant
      • HydrantValve
      • ServiceConnection
      • ServiceValve
      • SystemValve
      • Main
      • Service

    7. Set the Output Folder location.

    8. Optionally set System Barriers.
    9. Check the Convert Codes to Descriptions check box.
    10. Set the Result Area Type parameter to CONVEX_HULL.
    11. Set the Result Buffer Distance parameter to 100 Feet.
  4. Run the tool.
    The Python Toolbox IsolationTrace.pyt file is created; it includes the Isolation Trace tool, configured for your organization's data.

Publish isolation trace service

A geoprocessing service is required to use the Utility Isolation Trace application. Once you have the Isolation Trace tool configured for your organization, you can trace the network and publish the geoprocessing service to ArcGIS Enterprise.

  1. Start ArcMap and open a new blank map.
  2. Browse to the Outage geodatabase and add Mains to the map.
  3. In the Catalog window, browse to the IsolationTrace.pyt toolbox.
  4. Open the Web Isolation Trace tool.
  5. Select the Flags feature set and place a flag anywhere on a main.
  6. Click OK to run the trace.
    The results are added to the map.
  7. Remove the Mains layer from the map so only the trace results remain.
  8. Click Geoprocessing to expand a list of options.
  9. Click Results to open the Results window.
  10. In the Results window, expand Current Session, right-click the Web Isolation Trace results, and click Share As > Geoprocessing Service.
    The Share as Service wizard opens.
  11. In the first panel of the wizard, choose Publish a service.
  12. Add your server connection in the Choose a connection parameter.
  13. Accept the default Service name, and click Next.
  14. Optionally specify a folder or create a folder for the service and click Continue.
    The Service Editor opens.
  15. Accept the Service Editor default options and click Publish.

    The geoprocessing service is published.

Now that you've published the geoprocessing service, you can configure the web isolation trace.

Top