Symbolise feature layer by colour code attribute

278
3
Jump to solution
03-25-2024 12:24 AM
JoshuaWeiss
New Contributor II

Is it possible to symbolise a feature layer in ArcGIS Online by an attribute that is storing colour-code values (in my case a hex code, as per the screenshot below).

JoshuaWeiss_0-1711351441614.png

 

0 Kudos
1 Solution

Accepted Solutions
RussRoberts
Esri Notable Contributor

Its possible to do this in Pro and then share that web map to Online making sure to keep the compatible symbol option in the sharing panel unchecked.

https://support.esri.com/en-us/knowledge-base/how-to-apply-hex-or-rgb-color-codes-from-an-attribute-...

View solution in original post

0 Kudos
3 Replies
RussRoberts
Esri Notable Contributor

Its possible to do this in Pro and then share that web map to Online making sure to keep the compatible symbol option in the sharing panel unchecked.

https://support.esri.com/en-us/knowledge-base/how-to-apply-hex-or-rgb-color-codes-from-an-attribute-...

0 Kudos
Adam_Inglis
New Contributor II

Is it possible for the hex colours to appear in the legend as well?  I end up with a single symbol in the Contents pane

Adam_Inglis_0-1711489768434.pngAdam_Inglis_1-1711489791542.png

I guess I need a way to symbolize by the hex field and the rock type field in this geology example:
 

Adam_Inglis_2-1711489909057.png

 

 

 

 

0 Kudos
RussRoberts
Esri Notable Contributor

This is a known limit when you are using the attribute driven colors/primitive overrides. Its not creating a Types/Unique Renderer style that has a list of labels and values.

0 Kudos