Skip to main content

Agregar campos (varios) (Herramientas de administración de datos)

Resumen

Agrega campos nuevos a una tabla, clase de entidad o ráster.

Uso

Precaución:

Esta herramienta modifica los datos de entrada. Consulte Herramientas que modifican o actualizan los datos de entrada para obtener más información y estrategias para evitar cambios de datos no deseados.

  • En los shapefiles y las tablas dBase, si el tipo de campo define un carácter, se insertan espacios en blanco para cada registro. Si el tipo de campo define un elemento numérico, se insertan ceros para cada registro.

  • Los campos especificados por el parámetro Propiedades de campo tendrán las siguientes propiedades predeterminadas:

    • La propiedad Permitir NULL será verdadera.

    • La propiedad Editable será verdadera.

    • La propiedad Necesario será falsa.

    • Las propiedades Precisión y Escala se definen según los valores predeterminados de tipo de campo y origen de datos.

  • Los campos se pueden agregar a la entrada mediante los parámetros Propiedades de campo o Tablas de plantillas. Si se proporcionan valores para ambos parámetros, se agregarán campos de ambos parámetros.

  • La opción Longitud de campo del parámetro Propiedades de campo solo es aplicable a campos de tipo texto.

  • Los shapefiles no son compatibles con alias para campos, de manera que no puede agregar un alias de campo a un shapefile.

  • Un campo de tipo ráster permite incluir una imagen ráster como atributo. Se almacena en la geodatabase o junto con ella. Esto es útil cuando una imagen es la mejor manera de describir una entidad. La precisión, la escala y la longitud no se pueden configurar para los campos de tipo ráster.

Parámetros

Etiqueta Explicación Tipo de datos

Tabla de entrada

La tabla de entrada donde se agregarán los campos. Los campos se agregarán a la tabla de entrada existente y no crearán una tabla de salida nueva.

Los campos se pueden agregar a clases de entidad de geodatabases, shapefiles, coberturas, tablas independientes, catálogos de ráster, rásteres con tablas de atributos y a capas.

Table View; Raster Layer; Mosaic Layer

Propiedades del campo

(Opcional)

Los campos y propiedades que se agregarán a la tabla de entrada.

Columnas de la tabla de valores:

  • Field NameThe name of the field that will be added to the input table.

  • Field TypeThe field type of the new field.

    • 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.

    • Big integer (64-bit integer)The field type will be big integer. Big integer fields support whole numbers between -(253) and 253.

    • 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.

    • TextThe field type will be text. Text fields support a string of characters.

    • DateThe field type will be date. Date fields support date and time values.

    • Date (high precision)The field type will be high precision date. High precision date fields support date and time values with millisecond time.

    • Date onlyThe field type will be date only. Date only fields support date values with no time values.

    • Time onlyThe field type will be time only. Time only fields support time values with no date values.

    • Timestamp offsetThe field type will be timestamp offset. Timestamp offset fields support a date, time, and offset from a UTC value.

    • 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.

    • RasterThe field type will be raster. Raster fields can store raster data in or alongside the geodatabase. All ArcGIS software-supported raster dataset formats can be stored, but it is recommended that only small images be used.

  • Field AliasThe alternate name for the field. This is used to describe cryptic field names. This value only applies to geodatabases.

  • Field LengthThe length of the field being added. This sets the maximum number of allowable characters for each record of the field. This option is only applicable to fields of type text. The default length is 255.

  • Default ValueThe default value of the field.

  • Field DomainThe geodatabase domain that will be assigned to the field.

  • PrecisionThe number of significant digits used to represent attribute values.

  • ScaleThe maximum size of data that can be stored in the field.

  • Field supports null valuesSpecifies whether the field can contain null values.

  • Field is requiredSpecifies whether the field is a required field.

Value Table

Tablas de plantillas

(Opcional)

Las clases de entidad o las tablas que se utilizarán como plantilla para definir los campos de atributos que se agregarán.

Los campos de las entradas especificadas con este parámetro se agregarán al valor del parámetro Tabla de entrada además de cualquier campo especificado por el parámetro Propiedades de campo.

Table View

Salida derivada

Etiqueta Explicación Tipo de datos

Tabla de entrada actualizada

La tabla de entrada actualizada.

Table View; Raster Layer; Mosaic Layer

Entornos

Espacio de trabajo actual, Transferir descripciones de dominio de campo

Casos especiales

Transferir descripciones de dominio de campo

When this environment is checked, any fields that have an associated domain will use the domain description instead of the field's value. Values from fields that do not have a domain will be unaffected.

Información de licenciamiento

  • Basic: Sí
  • Standard: Sí
  • Avanzado: Sí