Add Field To Analysis Layer (Network Analyst)

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

Summary

Adds a field to a sublayer of a network analysis layer.

Usage

  • The tool is typically used with the Add Locations tool to transfer fields from the input features to the sublayers. For example, to transfer a field called UniqueID from your input features to the Facilities sublayer of the Service Area layer, use this tool to first add the UniqueID field to the Facilities sublayer. Then use the field mappings in the Add Locations tool to provide input values for the UniqueID field.

  • Fields can be added to any of the sublayers of the network analysis layers.

Parameters

LabelExplanationData Type
Input Network Analysis Layer

The network analysis layer to which the new field will be added.

Network Analyst Layer
Sub Layer

The sublayer of the network analysis layer to which the new field will be added.

String
Field Name

The name of the field that will be added to the specified sublayer of the network analysis layer.

String
Field Type

Specifies the field type that will be used in the creation of the new field.

  • TextThe field type will be text. Text fields support a string of characters.
  • Float (single precision)The field type will be float. Float fields support fractional numbers between -3.4E38 and 1.2E38.
  • Double (double precision)The field type will be double. Double fields support fractional numbers between -2.2E308 and 1.8E308.
  • Short (small integer)The field type will be short. Short fields support whole numbers between -32,768 and 32,767.
  • Long (large integer)The field type will be long. Long fields support whole numbers between -2,147,483,648 and 2,147,483,647.
  • DateThe field type will be date. Date fields support date and time values.
  • Blob (binary data)The field type will be BLOB. BLOB fields support data stored as a long sequence of binary numbers. You need a custom loader or viewer or a third-party application to load items into a BLOB field or view the contents of a BLOB field.
String
Field Precision
(Optional)

The number of digits that can be stored in the field. All digits are counted regardless of which side of the decimal they are on.

The parameter value is only valid for numeric field types.

Long
Field Scale
(Optional)

The number of decimal places stored in a field.

Long
Field Length
(Optional)

The length of the field. This sets the maximum number of allowable characters for each record of the field.

Long
Field Alias
(Optional)

The alternate name for the field. This name is used to describe cryptic field names. This parameter only applies to geodatabases.

String
Field IsNullable
(Optional)

Specifies whether the field can contain null values. Null values are different from zero or empty fields and are only supported for fields in a geodatabase.

  • Checked—The field can contain null values. This is the default.
  • Unchecked—The field cannot contain null values.

Boolean

Derived Output

LabelExplanationData Type
Updated Input Sublayer

The updated network analysis layer.

Network Analyst Layer

Environments

Licensing information

  • Basic: Yes
  • Standard: Yes
  • Advanced: Yes

Related topics