Add Field To Analysis Layer (Network Analyst)

This ArcGIS 2.8 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.

  • Text — Any string of characters.
  • Float (single precision) — Fractional numbers between -3.4E38 and 1.2E38.
  • Double (double precision) — Fractional numbers between -2.2E308 and 1.8E308.
  • Short (small integer) — Whole numbers between -32,768 and 32,767.
  • Long (large integer) — Whole numbers between -2,147,483,648 and 2,147,483,647.
  • Date — Date and/or time.
  • Blob (binary data) — 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. This parameter is only used in float and double data field types.

Long
Field Length
(Optional)

The length of the field being added. This sets the maximum number of allowable characters for each record of the field. This parameter is only applicable to fields of type text.

Long
Field Alias
(Optional)

The alternate name given to the field name. 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 will allow null values. This is the default.
  • Unchecked—The field will not allow 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