laptop and a wrench

漏洞

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

上次发布: November 26, 2019 ArcGIS Pro
漏洞 ID 编号 BUG-000126855
已提交November 19, 2019
上次修改时间June 5, 2024
适用范围ArcGIS Pro
找到的版本2.4.2
操作系统N/A
操作系统版本N/A
状态Known Limit

附加信息

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.

解决办法

  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. 

重现步骤

漏洞 ID: BUG-000126855

软件:

  • ArcGIS Pro

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项