Select to view content in your preferred language

Label only features that are visible

943
5
Jump to solution
12-20-2024 09:25 AM
Labels (3)
WDMParkPlanner
Regular 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
1 Solution

Accepted Solutions
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

View solution in original post

5 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_

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_

WDMParkPlanner
Regular Contributor

I can't thank you guys enough for your expertise and help on the matter. Totally helps me big time. This dialog is making my day and GIS experience a whole lot better.  🙂

0 Kudos