A common task when labeling streets is to label the street address ranges. To do this, you must create label classes for the to address range and from address range and create label expressions for each, consisting of the addresses for the left and right sides of the streets. Then use the Maplex Label Engine Street Address Placement style to place the labels.
The image below shows the streets labeled with their address ranges using the Street Address Placement style.
Create label classes for the to and from address ranges by completing the following steps for each label class:
- Ensure that the Maplex Label Engine is enabled.
- Set the label placement style to Street Address Placement.
- Create a label expression for the left- and right-side addresses.
The ArcGIS Arcade label expression for the to address range label class is as follows:
$feature.Left_to_address_field + "/" + $feature.Right_to_address_field
The ArcGIS Arcade label expression for the from address range label class is as follows:
$feature.Left_from_address_field + "/" + $feature.Right_from_address_field
- Change the line spacing value for the text symbol.
The image above uses an Additional value of 4 to push the labels to either side of the street casing.
- Turn on label stacking. Stack on the forward slash (/) character, uncheck the Visible check box, and check the Forced Split check box.
- Set up the label offset.
- Set the offset parameters for the to address range label class as follows:
- Position label—Along the line from end
- Measure to—Nearest side of label
- Distance—Variable (3 points used in image above)
- Tolerance—Variable (5 points used in image above)
- Check the Use line direction check box.
- Set the offset parameters for the from address range label class as follows:
- Position label—Along the line from start
- Measure to—Nearest side of label
- Distance—Variable (3 points used in image above)
- Tolerance—Variable (5 points used in image above)
- Check the Use line direction check box.
- Set the offset parameters for the to address range label class as follows: