Network attributes are associated with attributes on features in the network. They are derived from feature attributes and cached inside the network topology to aid in performance while feature attributes are evaluated during a trace. The values stored as attributes for features on a map are reflected or updated in the associated network attribute each time you validate the network topology.
To work with network attributes, you must first create them using the Add Network Attribute tool. You can then assign network attributes 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:
The network topology must be disabled.
- When working with an enterprise geodatabase, ensure the following:
The Input Trace Network parameter must be from a database connection established as the database trace network owner.
The connected ArcGIS Enterprise portal account must be the portal trace network owner.
Add a network attribute
To add a network attribute to the trace network, complete the following steps:
- On the Analysis tab, in the Geoprocessing group, click Tools to open the Geoprocessing pane.
- In the Geoprocessing pane, search for and select the Add Network Attribute tool.
- For the Input Trace Network parameter, specify a trace network.
- For the Attribute Name parameter, specify a name for the network attribute.
- For the Attribute Type parameter, choose the data type of the network attribute. If you create the network attribute without the Nullable option enabled, it can only be assigned to fields that share the same constraint for null values.
- Short—Small integer
- Long—Large integer
- Double—Double precision
- Apportionable—Optionally, select this to specify if the network attribute will be apportioned across multiple edges belonging to the same feature. Apportioned behavior is only supported with double network attributes.
- Date
- Click Run.
A new network attribute is added to the trace network. The network attribute can now be assigned using the Set Network Attribute tool. To learn more, see Set a network attribute.