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
Solved! Go to Solution.
First, make sure you've enabled symbol property connections.
In the shape marker settings, you can choose a text template:
Click the database icon next to "text string" and choose your field.
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.
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?
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
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.
First, make sure you've enabled symbol property connections.
In the shape marker settings, you can choose a text template:
Click the database icon next to "text string" and choose your field.
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.