0

I have a layer file which I use as reference for symbology for future layers. It is based on unique values, however there is over 100 unique values, and each one have their own icon.

If I apply this symbology to a small layer, its legend or symbology table will have over 100 items, even if the layer only uses 3-4 symbols.

Is there a way to remove all icons that are not been used in that layer?

ArcGIS Pro has a button called Add Unlisted value, and I'm looking for the exact opposite: remove all unlisted values.

  • 1
    Can you share some of your arcpy code? – Cory G. Oct 10 at 17:51
  • There is no code for that. I just use apply symbology from layer.I want to edit the result after that. – Gustavo Oct 10 at 17:53
  • If you are not presenting code then Python should not be part of your question. In any event, I agree with the first answerer that there appears to be a no coding solution to this. – PolyGeo Oct 10 at 22:22
1

In ArcGIS Pro, try checking the "Only show features visible in the map extent" box, which can be found under Feature Display Options menu. This will make it so that only things that appear in the current map extent are displayed in your legend.

https://pro.arcgis.com/en/pro-app/help/layouts/work-with-legend-items.htm

  • Some issues: 1- I could not find this option at all. I swear that I right-clicked everyone on map and could not find it. Sorry for the stupid question but where I find the feature display menu? 2- I will upload the layer/map to AGOL.I doubt that this solution will work when using the layer on Arcgis Online. – Gustavo Oct 10 at 18:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.