Add Field To Analysis Layer (Network Analyst)

ArcGIS Pro 3.3 | | Help archive

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 named UniqueID from the 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 (32-bit floating point)The field type will be float. Float fields support fractional numbers between -3.4E38 and 1.2E38.
  • Double (64-bit floating point)The field type will be double. Double fields support fractional numbers between -2.2E308 and 1.8E308.
  • Short (16-bit integer)The field type will be short. Short fields support whole numbers between -32,768 and 32,767.
  • Long (32-bit 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.
  • GUID (globally unique identifier)The field type will be GUID. GUID fields store registry-style strings consisting of 36 characters enclosed in curly brackets.
  • Big integer (64-bit integer)The field type will be big integer. Big integer fields support whole numbers between -(253) and 253.
  • Time onlyThe field type will be time only. Time only fields support time values with no date values.
  • Date onlyThe field type will be date only. Date only fields support date values with no time values.
  • Timestamp offsetThe field type will be timestamp offset. Timestamp offset fields support a date, time, and offset from a UTC value.
String
Field Precision
(Optional)
Legacy:

This parameter is deprecated and maintained only for backward compatibility.

Long
Field Scale
(Optional)
Legacy:

This parameter is deprecated and maintained only for backward compatibility.

Long
Field Length
(Optional)

The length of the field. This sets the maximum number of allowable characters for each record of the field. If no field length is provided, a length of 255 will be used.

The field length applies only to text fields.

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