操作方法

操作方法:在 ArcGIS Pro 中,应用属性字段中的十六进制或 RGB 颜色代码作为要素符号系统

Last Published: July 20, 2023

摘要

In ArcGIS Pro, features in a layer can be symbolized as a single symbol or unique values, or through the graduated colors method. In some instances, the features of a layer must be symbolized based on Hex or RGB color codes from the layer's attribute field so they can be differentiated. This article describes the steps to add Hex or RGB color codes from the attribute field as a feature symbology in ArcGIS Pro.

过程

  1. In ArcGIS Pro, open the attribute table of the layer.
  2. Click the Add icon to add a new Text data type field. Populate the new field with the desired Hex or RGB color code value.

The image below shows an example of the Hex color codes.

Image of adding a new field and the desired Hex color codes

The image below shows an example of the RGB color codes.

Image of adding a new field and the desired RGB color codes
  1. In the Contents pane, right-click the layer, and click Symbology.
  2. In the Symbology pane, click the Vary symbology by attribute icon, and check the Allow symbol property connections check box.
Image of the Symbology pane with the checked Allow symbol property connections check box
  1. Click the Primary symbology icon, and select the symbol next to Symbol.
Image of the Primary symbology tab
  1. In the Format Polygon Symbol pane, click the Properties tab. After that, click the Layers tab.
  2. In the Appearance section, click the Set attribute mapping button next to Color.
Image of the selected No attribute mapping icon
  1. In the Set Attribute Mapping dialog box, choose the field containing the color codes, and click OK.
Image of the Set Attribute Mapping dialog box
  1. Click Apply.

The image below shows the Hex color codes applied to the features of the layer.

Image of the colored map using the desired Hex/RGB color codes from the custom field

文章 ID: 000024233

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

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

下载 Esri 支持应用程序

相关信息

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项