Setting label rotation using a numeric field

Using the Maplex Label Engine to rotate labels by an attribute value will turn each label on the map by a specified angle. The rotation angle is taken from an attribute value you've associated with the feature. You can also specify a rotation value to be added to this angle. The alignment type options allow you to orient your label to the angle in either a straight, horizontal, or perpendicular fashion. To prevent the labels from flipping upside-down when rotating around the feature, check the Keep label upright (may flip) check box.

If the center placement option is selected, the label is placed at the center of the symbol and rotated by the specified angle. If any of the offset placement options are selected, the label is placed at the offset distance and rotated to the specified angle. The selected placement position will be overridden, and the placement will be determined by the angle when you choose to rotate labels by an attribute value. The angle represents either geographic or arithmetic coordinates. Geographic rotates labels from north in a clockwise direction, while Arithmetic rotates labels from east in a counterclockwise direction.

The image below shows points with their labels rotated with an attribute value. The values are 0, 90, 180, and 270.

Label rotation set with numeric field
Steps:
  1. Enable the Maplex Label Engine.
  2. Click the Label Manager button Label Manager on the Labeling toolbar.
  3. Check the check box next to the layer you want to label.
  4. Choose a label class under the layer.
  5. Click the Properties button.
  6. Click the Label Position tab.
  7. Check the Rotate by attribute check box.
  8. Click Options.
  9. Choose a Rotation Field from the drop-down list.
  10. Optionally, specify an Additional Rotation value to be added to the angle.

    If a Rotation Field is not specified, the label will be rotated by the Additional Rotation value.

  11. Choose a value for Rotation Type.
  12. Geographic rotates labels from north in a clockwise direction, while Arithmetic rotates labels from east in a counterclockwise direction.

  13. Choose a value for Alignment Type: Straight, Horizontal, or Perpendicular.
  14. Optionally, check the Keep label upright (may flip) check box.
  15. If this check box is unchecked, the labels might be placed upside-down.

  16. Click OK to close all dialog boxes.
  17. The selected offset placement position is overridden by the angle.

TipTip:
You can also open the Placement Properties dialog box by clicking the Placement Properties button on the Labels tab of the Layer Properties dialog box for the layer you want to label.

Related Topics

10/24/2012