操作方法
In ArcGIS Pro, the Field Calculator tool can merge two or more text fields to create a new field with the merged field attributes. This may be done to improve readability of the field values, or for data uniformity, if two or more fields must be combined.
The instructions provided describe how to use the Field Calculator in ArcGIS Pro to merge the string and ObjectID fields in the attribute table. The OBJECTID and NAME fields in the attribute table are merged in this example.
!<FieldName>! + " - " + str(!OBJECTID!)
Note: Refer to ArcGIS Pro: Calculate Field Python examples for further information on Python expressions.
文章 ID: 000026481
获取来自 ArcGIS 专家的帮助
下载 Esri 支持应用程序
You can also download the app to access the chatbot anytime! Download it now.