Skip To Content

Draw measured hatches along lines

Some linear features include additional information at measured locations along the line rather than at absolute x,y coordinates. These locations are stored as m-values in the m-coordinate of each vertex of the line. This method of storing geographic locations using relative positions along a line is sometimes called linear referencing. You can display measured hatch symbols along line features that reference these m-values.

The hatch symbols themselves are marker symbol layers within a line symbol positioned at measured units. The marker can include a text element that can be configured to display the values from the m-coordinates using an Arcade expression.

Add marker symbols at measured units to lines

Default markers at measured intervals along a line feature

  1. In the Contents pane, select a line feature layer with m-values.
  2. On the Appearance tab, in the Drawing group, click Symbology Symbology.
  3. In the Symbology pane, click the line symbol to open the Format Line Symbol pane.

    Alternatively, you can click the line symbol directly in the Contents pane to open it in the Format Line Symbol pane.

  4. Click the Properties tab and click the Structure tab Structure to access the structure of the symbol. This is where you manage the individual layers a symbol contains. Under the Layers heading, click Add symbol layer and click Marker layer.
  5. Click the Layers tab Layers. This is where you adjust the graphical properties of each layer in the symbol. Highlight the marker symbol layer in the upper section of the pane.
  6. Expand the Marker Placement heading.
    • Set Placement to At measured units.
    • Set Interval to the measured distance at which the hatches are to be spaced. This interval must be smaller than the largest m-value. For example, an interval of 100 results in no hatches on lines that are less than 100 units long.

Add text elements to the markers to display the measured distance at each hatch

Text elements within marker symbol layers display measured distances along a line

  1. With the marker layer still highlighted on the Layers tab Layers of the Format Line Symbol pane, expand the Appearance heading.
  2. Click the Form gallery Form Gallery and choose a sample marker that includes a text element. The text elements are shown as a 1 in the gallery.
  3. Click the Element gallery and select the text element from the list. Display properties for the text element properties will appear below this gallery.

    If you chose a sample marker in step 2 that had only one element, the Element gallery will not appear. You will only see the text element graphical properties directly.

  4. To reflect the actual measured distances in the text elements, you must connect the text elements to an attribute. To do this, click the menu Menu in the upper right corner of the Format Line Symbol pane and click Allow symbol property connections.
  5. Under the Appearance heading, click the No attribute mapping defined button No attribute mapping defined next to the Text string property.
  6. On the Set Attribute Mapping dialog box, click the Set an expression button Set an expression.
  7. On the Expression Builder dialog box, type the following Arcade expression as the Expression: $measure.
  8. Click OK twice to close both dialog boxes, and then click Apply in the Format Line Symbol pane to draw the text elements on the markers with the actual measurement values.

Customize the appearance of the hatches

You can change the way the hatches look by adjusting the properties of each element in the marker symbol layer. You may want to make a varied hatch, where larger hatches are drawn at major intervals with smaller hatches at minor intervals. To do this, use two marker symbols with a different symbol and interval. In the following example, an existing small hatch marker symbol layer is placed at every 2 units. A new marker symbol layer is added to draw a larger hatch at every 10 units.

Two marker symbol layers show larger hatches at major intervals and smaller markers at minor intervals

  1. With the line symbol selected, in the Format Line Symbol pane, click the Properties tab and click the Layers tab Layers. Highlight the marker symbol layer in the upper section of the pane.
  2. Expand the Marker Placement heading and set the Interval property to 2.
  3. Click the Structure tab Structure. Under the Layers heading, click Add symbol layer and click Marker layer.
  4. Click the Layers tab Layers and highlight the newly added marker symbol layer.
  5. Expand the Marker Placement heading. Set Placement to At measured units and set Interval to 10.
  6. Expand the Appearance heading and adjust the Color and Size properties of the major markers, making them larger or darker than the minor hatches.
  7. At this point, the larger markers overlap the smaller ones. To resolve this conflict, you must suppress the smaller markers at intervals of 10. To do this, highlight the smaller hatch marker symbol layer and expand the Marker Placement heading, and then set Skip marker rate to 5. This will skip every fifth marker, which in this case is every 10 measured units (Skip marker rate multiplied by the Interval), which is the exact placement interval of the larger marker symbol layer.
  8. Click Apply. Larger markers draw major intervals at every 10 units and smaller ones draw the minor intervals at every 2 units. Conflicts are avoided by setting a skip marker rate on the smaller markers.

Related topics