Select to view content in your preferred language

Labeling based on two layers

751
2
09-18-2024 05:43 AM
JimmyB1982
Occasional Contributor

I have two layers, a District Layer and a County Layer. The Districts are polygons inside of the County. I want to label the Districts but want the labels to appear outside of the County polygon. Is there a way to explicitly set this to force the labels for one layer (District) so they are always outside of another layer (County). I have to do this for several maps so converting to graphics and manually adjusting them would not be ideal. 

Note in the screenshots my layer names might be different; but generally speaking is what I am asking possible either by using an expression or label settings?

TIA

2 Replies
PROBERT68
Honored Contributor

Looking at the map you provide and show us.. Is that the only county you working on or ???

I have similiar other like that but I would wait until you respond back

0 Kudos
JesseWickizer
Esri Contributor

Apply a very high interior feature weight to the label class labeling properties of the focus county. If you set it to the maximum 1000 it will prevent even the callout lines from overlapping the county interior and no labels will place, but if you use a very high value such as 999 it will deter the majority of labels from placing over that area.

Here's an example labeling the counties of Arizona with this technique:

JesseWickizer_0-1732557527750.png

 

0 Kudos