Create a network attribute

Network attributes are associated with attributes on feature classes and object tables in your network. They are derived from the network feature's attributes and cached inside the network topology to aid in performance while attributes are evaluated during a trace or while performing subnetwork management tasks. The values stored as attributes for features and objects are reflected or updated in the associated network attribute each time you validate the network topology.

To work with network attributes, they must first be created using the Add Network Attribute tool. Then, the network attribute can be assigned to a field in a network feature class using the Set Network Attribute tool.

Learn more about network attributes

Requirements

Before you add a network attribute, the following requirements must be met:

Add a network attribute

To add a network attribute, complete the following steps:

  1. On the Analysis tab, in the Geoprocessing group, click Tools Tools to open the Geoprocessing pane.
  2. In the Geoprocessing pane, search for and select Add Network Attribute.
  3. For the Input Utility Network parameter, specify a utility network.
  4. For the Attribute Name parameter, specify a name for the network attribute.
  5. For the Attribute Type parameter, choose the data type of the network attribute.

    This determines the options available to define the network attribute. If creating without the nullable option, this network attribute can only be assigned to fields that have the same constraint for null values.

    See the Add Network Attribute tool usage section for a table of available options depending on the Attribute Type parameter value specified.

    • Short—Small integer
      • In Line—Optionally, select this to store the network attribute internally in the network topology.
      • Nullable—Select this to allow null values for the network attribute.
    • Long—Large integer
      • In Line—Optionally, select this to store the network attribute internally in the network topology.
      • Substitution—Optionally, select this to define a network attribute to substitute. This option is only available when In Line is not checked. When creating network attributes using substitution, the In Line option is disabled in the tool (network attribute is created out of line).
        • Network Attribute to Substitute—If the Substitution option is checked, provide the network attribute that will be substituted. This must be an existing network attribute that was created as In Line.
      • Nullable—Select this to allow null values for the network attribute.
    • Double—Double precision
      • Apportionable—Optionally, select this to specify whether the network attribute will be apportioned across multiple edges belonging to the same feature.
      • Nullable—Select this to allow null values for the network attribute.
    • Date—Date
      • Nullable—Select this to allow null values for the network attribute.
  6. Click Run.

A new network attribute is added to the specified utility network. The network attribute can now be assigned using the Set Network Attribute tool. For specific steps, see Set a network attribute.