Polygon Symbology using RGB Attribute Field - Arc Pro

2333
4
04-26-2019 01:37 PM
AngeloMangiardi
New Contributor

Was wondering if anyone could walk me through this workflow problem I'm having.  I'm relatively new to the Arc Pro world. 

 

I have a series of polygon files (50+ layers representing various geologic rock units); the recommended discrete color assignments are embedded in the attribute table of each layer in a single text field that contains the suggested rgb code for the various rock type.  Each layer can have over 100 unique units with up to 30 different color assignments - so manually inputting these color definitions would be extremely time consuming.

 

Reviewing the help notes, sounds like I should be able to do this by working through the Vary symbology by color—ArcGIS Pro | ArcGIS Desktop though, I'm finding the instructions a bit confusing.

 

It states that the field must contain numeric data.  Can I assign the colors if the R G B values were split into 3 separate fields in numeric form, and then using some kind of Arcade Expression?  I don't think converting the R,G,B values to HEX would solve my issue as that is another alphanumeric text system. 

 

Is assigning color symbology based on an RGB field even possible?  I remember it wasn't in Arc Map, but was under the impression that it was doable in Arc Pro. 

 

Any guidance would be most appreciated.

Tags (1)
0 Kudos
4 Replies
KoryKramer
Esri Community Moderator

Yes, this is possible.  You should refer to this help: https://pro.arcgis.com/en/pro-app/help/mapping/layer-properties/attribute-driven-color-in-symbology....

You noted that you have a single text field - that is what is required, so I guess you'll just need to check the required formatting from the doc:

Good luck!

ArthurPoon
New Contributor III

Hi Kory!

How're you doing?

Where do you enter this text attribute?

The numerical field that Angelo is talking about is the Color field under the Vary Symbology by Attribute tab.

thanks!

0 Kudos
XanderBakker
Esri Esteemed Contributor

Hi Arthur Poon (and angelo.mangiardi )

Not sure if this is exactly what you are looking for, but recently I answered a related question here: https://community.esri.com/message/934173-re-color-green-for-type-a-scale-of-yellow-red-for-type-b-w... 

0 Kudos
ArthurPoon
New Contributor III

Hi Xander!

Yes! That arcade expression helped great!  I entered it into the Color field under the Vary Symbology by Attribute

Unfortunately, it didn't seem to reflect in the legend.  You'd still have to go in and change the symbology to Unique Values and change each category one-by-one.

It was brought up in this other post

https://community.esri.com/ideas/5870-set-symbol-color-from-rgb-values-in-attribute-table?commentID=... and a Bug report was filed.