laptop and a wrench

Error

Long integer or double data types do not persist between Excel and ArcGIS Pro when all values in the column are null.

Última publicación: November 26, 2019 ArcGIS Pro
Número de ID del error BUG-000126855
EnviadoNovember 19, 2019
Última modificaciónJune 5, 2024
Relacionado conArcGIS Pro
Versión encontrada2.4.2
Sistema operativoN/A
Versión de sistema operativoN/A
EstadoKnown Limit

Información adicional

This is a known limitation. The drivers make assumptions about the CSV field data types based on the first row of data. A blank (or null) value is to be translated as text. Create and modify a schema.ini file to 'force' a data type for a field in a CSV file. Additional help documentation can be found here in the following link, https://pro.arcgis.com/en/pro-app/help/data/tables/add-an-ascii-or-text-file-table.htm.

Solución alternativa

  1. In Excel, add a single integer to the column that should be entirely null.
  2. After the integer is added, change the data type to Numeric, and add the appropriate number of decimal places. 
  3. Save the table as a CSV, and add it to ArcGIS Pro. 
  4. The data type for the field is listed as 'Double' or 'Long', depending on the type of numeric data type selected in Excel. 
  5. Perform an operation such as 'Copy Rows', which creates a copy of the data that can be edited. 
  6. Remove the integer from the field in question. 
  7. Check the data type using 'Field View'. Note that the data type retains the proper numeric format, either 'Double' or 'Long', depending on which was chosen. 

Pasos para reproducir

ID del error: BUG-000126855

Software:

  • ArcGIS Pro

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga