HOW TO

Anwenden von Hexadezimal- oder RGB-Farbcodes aus einem Attributfeld als Feature-Symbolisierung in ArcGIS Pro

Last Published: July 20, 2023

Zusammenfassung

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.

Vorgehensweise

  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

Artikel-ID: 000024233

Benachrichtigungen erhalten und Lösungen für neue oder häufige Probleme finden

Unser neuer KI-Chatbot stellt zusammengefasste Antworten und Videolösungen für Sie bereit.

Esri Support App herunterladen

Zugehörige Informationen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln