问题

问题:在 ArcGIS Pro 中连接两个字段不会返回任何匹配值

Last Published: December 6, 2024

描述

In ArcGIS Pro, when attempting to join two common fields from different tables using the Add Join tool, no matching values are returned in the joined table.

The joined table is from Day 1 and Day 1_CSV layers. The two common fields in the joined table are altitudes and altitude where no matching values are returned in the table. The data type of altitudes is Float.

原因

The data types of the common fields do not match.

解决方案或解决方法

The data types of the common fields must be the same to join a layer to another layer or table in ArcGIS Pro. For example, a float field cannot be joined with a double field as the data types of the fields are different. Refer to ArcGIS Pro: Join the attributes from a table for more information.

To resolve this issue, change one of the field data types to the same data type as the other common field by creating a new field in the layer’s attribute table, and use the Calculate Field tool to populate the values of the new field. Refer to How To: Change the data type of an existing field in ArcGIS Pro for instructions.

The image below shows matching values are returned in the joined table when joining two common fields with the same data type in ArcGIS Pro.

The joined table is from Day 1 and Day 1_CSV layers. The two common fields in the joined table are altitude and altitude where matching values are returned in the table. The data type of altitude is changed to Double.

文章 ID: 000025381

接收通知并查找新问题或常见问题的解决方案

从我们全新的 AI 聊天机器人中获得简明答案和视频解决方案。

下载 Esri 支持应用程序

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项