If a feature class is clipped to a specific AOI (area of interest) and we utilize the original layer file (.lyr) to represent the newly clipped polygons (in this instance) there will be unused symbols displayed in the classification of the unique values and in the final legend (see screen capture below).
The current solution is to manually select one by one (or alt select) to remove the unused classifications/symbology.
Would like to see ESRI add a simple sort ascending or descending tool to the “Count” column to easily sort out all the unused symoblogy. In this instance it was easy to select the 22 geological classifications and manually remove them. Yet, there are instances with other data sets that may contain100+ unique values that need to be manipulated and cleaned before final representation in a legend.
Would love to know if there's any update on this. I'm using a national layer file with 100's of values for a smaller area. I want to add descriptions and having all the unused layer values in such a pain.
I would agree that this option would be great. Just in case it's of use to anybody here then please see my explanation at the bottom of the thread linked below for achieving unique values when matching from an existing layer file. Certainly for the examples cited above then I think it will save you some time!
Managing Symbology using Python
Important bit copied and pasted below:
Therefore, the workaround is to manually create a layer file (hopefully you only need to do this once), from scratch, with all of your symbols and labels as you would like them as a "Unique Values" list (you can speed this lengthy process up by loading your style file into your Style Manager). Save it and then reference that using the "apply symbology from layer" command.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.