Select to view content in your preferred language

AcrPro varying symbology using 2 attributes

268
4
Jump to solution
3 weeks ago
RachelLord
New Contributor

Hi, 

 

I'm looking to see if it's possible to have the symbols of a layer as the actual data within one attribute - which is a code, so the symbols would be 'CC', or 'WR' etc. instead of just a regular shape, and the colour of that code reflects a different attribute.

 

Thanks

0 Kudos
1 Solution

Accepted Solutions
jcarlson
MVP Esteemed Contributor

First, make sure you've enabled symbol property connections.

jcarlson_0-1716987290981.png

In the shape marker settings, you can choose a text template:

jcarlson_1-1716987348631.png

Click the database icon next to "text string" and choose your field.

jcarlson_2-1716987380256.png

You can also use that same connection for "color", though you may need to use an expression to translate the different values to hex codes.

Alternatively, you can use your code field for "unique values", and define each point marker the same way, and then just manually set the color for each.

jcarlson_3-1716987674104.png

 

- Josh Carlson
Kendall County GIS

View solution in original post

4 Replies
marksm_macomb
Occasional Contributor

If you would like the text of an attribute to display instead of a point/polygon/line, could you use label classes instead and set the symbology to no color?

0 Kudos
Ed_
by MVP Regular Contributor
MVP Regular Contributor

Maybe you can show the attributes as labels and then set the symbol color to " no color". That way the symbols won't show on the map leaving only the labels on the map. Also, you can color labels differently by using if-else via Arcade under Labeling properties > Class

Question | Analyze | Visualize
0 Kudos
jcarlson
MVP Esteemed Contributor

It's absolutely possible. It takes a bit of tweaking, but you can have a font marker in your symbology and use an attribute to define what text goes in that marker. I'm not at my usual workstation right now, but I can add some screenshots to help explain this later.

I like the labels option that @marksm_macomb  suggests, and use it myself in certain projects, but labels can shift and disappear, so sometimes you do need the actual symbol layer instead.

- Josh Carlson
Kendall County GIS
jcarlson
MVP Esteemed Contributor

First, make sure you've enabled symbol property connections.

jcarlson_0-1716987290981.png

In the shape marker settings, you can choose a text template:

jcarlson_1-1716987348631.png

Click the database icon next to "text string" and choose your field.

jcarlson_2-1716987380256.png

You can also use that same connection for "color", though you may need to use an expression to translate the different values to hex codes.

Alternatively, you can use your code field for "unique values", and define each point marker the same way, and then just manually set the color for each.

jcarlson_3-1716987674104.png

 

- Josh Carlson
Kendall County GIS