Select to view content in your preferred language

Add Customization of Symbology Labels (Without Python) When Symbolized With 2 or More Fields

497
3
03-08-2023 11:52 AM
Status: Open
Labels (1)
Jeremy_Z
Occasional Contributor

When you symbolize a layer with two or more classes FIELDS the labels of the symbols get concatenated with a comma between them and no spaces as shown below.

Jeremy_Z_1-1678303615440.png

or... (ignore the periods and spaces here, that's me trying to work around the issue by editing attributes)

Jeremy_Z_0-1678303445199.png

Currently, in order clean this up you must go in and manually edit each one to look like you want or write python scripts to do so as shown here. 

https://support.esri.com/en/Technical-Article/000026861


I've run into this many times over the years, but this last time I thought I had it figured out. My python skills are just less than that of a child, but I don't think a user should have to learn python and spend days trying to get a script to work in order to have something simple like this done.

In the end, I added several fields to the dataset to have it turn out the way I wanted (this isn't always possible/allowed) and used a table frame, but we really should just have options on the formatting for these so we don't' have to manually edit them every time we make a change, and for automation purposes.

Suggested additions.

1. A period instead of a comma.

2. Spaces on both sides.

3. Greater Than/Less Than and Equals signs.

4. Possibly custom symbols or icons.

3 Comments
KoryKramer

@Jeremy_Z You mean when symbolized with two or more FIELDS, not CLASSES, correct? Like this...

KoryKramer_0-1678462086817.png

 

Jeremy_Z

Kory, good to see you in here!

Yes sir you are correct, I'll correct the terminology. I wrote the whole thing up from memory and then figured I should add screenshots. I should have looked it back up and fixed it before posting.

I often prefer to use a second legend for a numbering key that I can completely control and customize. If it's simple, it works very well and is dynamic, I can even use symbology in it if I like. If I setup a Table Frame, I can get it similar, but there's no option to then add symbology when it is asked for.

KoryKramer

Good to be in touch with you too, Jeremy. Thanks for updating the title and description! 🙂