I am working on several layers that share similar symbology in ArcGIS for Desktop (Basic). I'm trying to remove duplicate Symbology from the legend. Manually I can do it by opening the properties dialog box > selecting the symbology tab > selecting layers to remove (see jpg2), but this is time consuming.
This is ArcGIS for Desktop (Basic) 10.2.2 & python 2.7.5.
In jpg3+4 the attribute table for the 2 layers was added
Here the legend is built, but there is duplicate symbology as well and it is unecessary. Now, the maps contains 32 layers with a multiple duplicate symbology.
Finally, i want that the legend will composed of the two layers and will look like that:
I am looking for a solution both manually and via python script.
Best Answer
Just open the Legend Properties, click the General tab, select the layer(s) you want to remove from the legend under Legend Items (you can use Ctrl to select several layers at once) and click the double leftward arrow button, see picture below:
If you only have about 32 layers, it will probably be faster than writing a Python script and define which layers should be kept and which should be removed from the legend.