Symbol on line in arcmap

Yesterday, I needed to add an arrow onto the middle of a line, perpendicular to that line. In ArcMap, this can’t be done with line decorations but it can be done via the line labels.

I can’t really show what I was working on but the idea is shown below.

03

To set this up, turn on labels for the line layer and go into the properties for the line layer.

04

Hit the symbol button, to get into the label symbol properties (Warning, there are going to be plenty of nested menus here).

05

Hit edit symbol.

06

In the advanced text tab, click properties.

07

Change the type dropdown to marker text background.

08

Click symbol and choose the symbol you want to appear on the line. Click ok.

09

Notice the marker symbol is behind the label text in the preview.

10

Go to the general tab and change the color to no color. Click ok.

11

In the layer properties label tab, the text symbol preview should now show only the symbol that has been set in the background.

12

Click expression, and enter “.” for the expression. This can really be anything but a single . will give the label a very small footprint in terms of label weights and label buffer rules.

13

Hit ok, then click label properties (if maplex isn’t on, go turn it on before the next steps).

14

In the label position tab, choose Regular placement and click the position button.

15

Choose offset straight.

16

Hit ok, then in click the Label offset button.

17

This is the important part, for this label, I want the symbol offset above the line slightly, so it’s set to 1pt offset above the line. The offset along the line is important, since I want the symbol to be in the middle of the line. Choose along the line from start, measure to center of label and enter 50 and change the unit to % of line length. The tolerance can be useful if the lines are dense, it will allow some shift so more labels are placed. I also choose line direction because in this instance it’s important that the symbol be oriented to the line direction.

18

Hit ok, in the fitting strategy tab, uncheck everything.

19

In the label density tab, keep all the defaults.

20

In the conflict resolution tab, I’ve checked never remove, but it depends on the situation.

21

My example looks like this.

03

Note that if the labels need additional labels, like an ID or name, an addition label class can be set up to label the ID/name in addition to these symbol labels.

Leave a Reply