Map Fields

Map Fields tool icon The Map Fields tool transforms data from an input schema to an output schema. Field calculations, creation of new fields, and tagging of Key Fields may be performed with the Map Fields tool.

Examples

  • As a city GIS analyst, you want to process any new features added to a feature layer and change field names, drop certain fields, and create other fields using Arcade expressions.
  • As a data analyst, you want to change the schema of millions of records of data stored in delimited text files stored in the cloud. Using this tool you can change field names, drop some fields, and create other fields using Arcade expressions.

Usage notes

  • You can perform field calculations while mapping fields using Arcade expressions. Arcade is a lightweight and secure expression language written for use in the ArcGIS platform. Like other expression languages, it can perform mathematical calculations and evaluate logical statements. For a full overview of expressions and functions supported, see The ArcGIS Arcade expression language.
  • ArcGIS clients currently do not support 64-bit integer field types. For this reason, if a field is designated as Int64, that field will be converted to Float64 and be listed as type Double in any associated map or feature services.
  • As an alternative to the Map Fields tool, remember that field name modification and Key Field tagging can be set when first configuring a source or feed. For more information, see Configure input data.

Parameters

ParameterDescriptionData Type

Input Layer

The features for which the fields will be mapped to a new schema.

Features

Input Field

The schema of the data that comes into the tool. For each entry in the list of input fields, you can map from an existing field in the input layer or build an Arcade expression to calculate a new value to be written to the designated Output Field.

String

Output Field

The schema of the data after being transformed by the tool.

String

Key Field

Identify Key Field(s) to tag fields with their function, if applicable.

String

Output layer

The output layer will have the schema as defined by the list of output fields.