Select to view content in your preferred language

Label only features that are visible

139
4
a week ago
Labels (3)
WDMParkPlanner
Occasional Contributor

I am hoping to label features that are only visible on my map using an arcade expression. I removed particular field values from my Symbology menu so they don't show up on my map but they still get labeled. Here is my attempt to create an expression and the noted results:

WDMParkPlanner_0-1734715473196.png

I would greatly appreciate any help if you can guide me. Thanks!

 

0 Kudos
4 Replies
Bilal_Alam_GIS
Occasional Contributor

Instead of removing features from the Symbology pane, you can use a query to display only the features with specific FacilityIDs that you want to show on the map.

Please refer to the following document for instructions on how to create a query on the layer and the image below:

Filter features with definition queries—ArcGIS Pro 

Bilal_Alam_GIS_0-1735206117173.png

Thanks

RhettZufelt
MVP Notable Contributor

the definition query as per @Bilal_Alam_GIS post not only will remove from labeling, but will remove them from the attribute table as well (as per your other post).

R_

0 Kudos
Bilal_Alam_GIS
Occasional Contributor

@RhettZufelt if you want to see all records in table  but not in label in this case you can use label query to label only those features which you want.

RhettZufelt
MVP Notable Contributor

Agree.  But the OP has another similar post about records showing in the attribute table as well.

Was just pointing out that your definition query solution would solve both his questions.

R_

0 Kudos