4

How do I hide a specific feature in my legend?

The feature River is shown on the map but should be hidden in the legend. The other features are in the same layer.

The only way I can think of is to duplicate the layer, separate the features and not showing the layer with the river features. However, I assume there must be a better way to do this.

enter image description here

3
  • 2
    Duplicating the layer and removing the class you don't want is the way I've always done it but I would add an extra, you don't want to draw the layer twice so add a definition query to the duplicated layer with the symbol class removed FID = -1 (or OBJECTID = -1) to ensure no features are drawn on the map twice. Apr 3, 2019 at 23:31
  • 2
    Convert to graphics, ungroup, delete item, move lower part up.
    – FelixIP
    Apr 4, 2019 at 1:51
  • 2
    That works too @FelixIP but you'll always get 'just one more change' at the last minute, when the legend is converted to graphics it no longer updates to the current symbology. Of course if you're using a duplicate layer you would need to remember to import the symbology and re-delete the one you don't want - either method is just as problematic with last minute changes. Apr 4, 2019 at 3:52

1 Answer 1

2

I still hope that there might be a built-in solution by ArcGIS Pro. This is the solution I have so far:

  • Duplicate the layer
  • The first layer shows River feature
  • The second layer shows all other features

Michael Stimson suggest using a definition query in addition to avoid that the layer is not painted twice. FelixIP suggest to convert the legend to a graphics and delete the item. (see comments in question)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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