Select to view content in your preferred language

Legend - only count features visible in map extent

1021
6
06-20-2024 01:28 PM
Status: Already Offered
Labels (1)
wayfaringrob
Honored Contributor

While it's possible to show a count of features in the legend, and it is possible to only show features visible in the map extent, it is not possible to only count features in the map extent. the 'Only show' checkbox has no bearing on the total counts represented -- that is, if you use this, it's still showing you the total count of features, including those not visible in your map, which could be very misleading. This would be a welcome option so that I don't have to manually count, convert to graphics, and correct the numbers ArcGIS provides.

wayfaringrob_0-1718915298406.png

 

6 Comments
MargoAye

The easiest way would be to use dynamic text for a "distinct count", or "count" for your tabular data, then just place that text in the legend. The dynamic text should update every time you open the layout.

TomBole

This capability is already present.  The "Show feature count" does show the count for only features visible in the map frame.  Here is the tooltip for the option:

Screenshot 2024-09-26 095148.jpg

Here is an example of the results with a simply polygon layer symbolized with unique values.

Screenshot 2024-09-26 095600.jpg

An important caveat is that the count is based on the features symbol and not on its geometry as stated in the help "Work with a legend item".

Screenshot 2024-09-26 095959.jpg

MichaelMarcus

Where is this wonderful little gem of a tool located?  It does not appear in the legends element panel. 

 

MichaelMarcus_1-1734559058039.png

 

 

AubriKinghorn
Status changed to: Already Offered
 
AubriKinghorn

@MichaelMarcus it's in the properties for the legend item, not the legend itself. It looks like you are looking at the legend properties. If you select one or more legend items, you should see the option.

AubriKinghorn_0-1734560167477.png

 

MichaelMarcus

@AubriKinghorn, Thanks a lot, that did it.