Select to view content in your preferred language

Leader Line Feature Offset

2183
9
07-26-2013 10:30 AM
Status: Under Consideration
Labels (1)
CraigRiehle
Emerging Contributor

A labeling option to offset the distance from the end of the leader line to feature it is pointing at.  There is currently an option to offset the text from the feature but no option to offset the leader line from the actual feature its labeling. Arrows get mixed up in the symology of the feature and there is no option to offset this.  

9 Comments
KoryKramer
Status changed to: Under Consideration
 
davedoesgis

There is a gap setting in composite labels, but it doesn't work the way it's described in the help docs:

The gap, measured in points, between the point symbol and the beginning of the leader line.

It appears the documentation is incorrect, since the gap affects the space between the leader line and the label, rather than the symbol.

dcafdg_0-1686257460576.png

While a gap setting from the symbol would be great, what led me here was trying to figure out how to anchor the leader line to the outline of a marker symbol, not its center. I think this looks bad to have the leader line run through my marker symbol:

dcafdg_0-1686257663694.png

 

 

 

AlfredBaldenweck

I also have had trouble with this Place label leaders under the feature - Esri Community

Leader lines should respect the whole symbol, rather than pointing to the very center of it.

AlfredBaldenweck

I noticed today that you can specify what the label itself is offset from:

AlfredBaldenweck_0-1686835469297.png

Unfortunately, this does not affect the leader line, too.

AlfredBaldenweck

Sorry for the triple post.

I think I found a working solution until this is (hopefully) implemented.

Apply a Move effect to each symbol layer:

AlfredBaldenweck_0-1686835891269.png

 

AlfredBaldenweck_1-1686836002601.png

 

Standard leader behaviorMove effect applied
AlfredBaldenweck_2-1686836033569.png

 

AlfredBaldenweck_3-1686836132661.png

 

Move effectThe gap that @davedoesgis was discussing must be set to at least the same number as the move, or else the leader overruns it.

 

Joey_Lecky

@AlfredBaldenweck  Thanks for the idea to play with symbol effects. I think I found a better solution: Add a "Cut effect" to the leader line symbol, then adjust the "begin cut" value - around half the size of the point symbol you are labeling is probably good starting point. 

Below is an example. The point symbols are 10 pt and the leader line 'begin cut' is set to 5 pt. This cuts the leader line short by 5 pts from the point centroid, but the line remains pointing toward the centroid of the point.

Joey_Lecky_0-1711079666932.png

This will work with labels placed in any position around the points, whereas I think your move effect solution only really works if all labels are placed in the same relative direction from the point (e.g. top right).

AlfredBaldenweck

Oh, very nice! I'm going to be using this.

davedoesgis

The solution from @Joey_Lecky worked great for me, thanks! If you're not familiar with effects, you add those under the "Structure" settings (the wrench icon) for the symbol. Once you've added it, then you go back to the "Layers" settings (the stacked rectangles icon) and you can tinker with the begin cut setting. 

NOTE: I use double lines with a thin black line on top of a fatter white line to create a bit of a halo effect. In this case, it is two layers and I had to apply the cut effect to each separately. 

I agree that the solution from @AlfredBaldenweck would work, but you'd be limited to your labels and leader lines all using the same position/direction. In the screenshot above, note how the offset is +11pt for both X & Y, which I believe only works if the label is in the upper right. 

GISAdminSHN

@Joey_Lecky whoever pays you does not pay you enough!! 😄 ❤️