KEMBAR78
ArcPro Tutorials - Labeling Features | PDF | Arc Gis | Geographic Information System
0% found this document useful (0 votes)
12 views51 pages

ArcPro Tutorials - Labeling Features

Labeling features in ArcGIS Pro

Uploaded by

PES EA
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views51 pages

ArcPro Tutorials - Labeling Features

Labeling features in ArcGIS Pro

Uploaded by

PES EA
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 51

9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

ArcPro Tutorials Home ArcGIS account setup FAQ Intro to ArcGIS Pro Creating a

Labeling Features
This tutorial will teach you how to add labels to vector features in a map. It was created with ArcGIS Pro
version 3.3.
Before tackling this tutorial, you will need to download and install a dataset following these instructions:

Create a folder called labeling_features somewhere under your personal directory (e.g.
C:\Users\jdoe\Documents\Tutorials\labeling_features \).

Download the data for this exercise then extract the contents of labeling_features .zip into your newly
created labeling_features folder.

Open the map document

Labeling buildings ( a polygon layer)

Modifying the building labels

Labeling contours

Labeling the Roads layer

Labeling the point layer

Open the map document


Open the labeling_features.aprx file.

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 1/51
9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

The labeling_features.aprx document is a 2019 map of the Colby campus. The map document consists of four data
ArcPro Tutorials Home ArcGIS account setup FAQ Intro to ArcGIS Pro Creating a
layers: flagpole (a point layer), Contours (a polyline layer), Buildings (a polygon layer) and roads (another polygon
layer).

Labeling buildings ( a polygon layer)


In this section, you will label the building polygons using the values stored in its Name attribute.

Select the Buildings layer in the Contents pane.

Click on the Labeling tab to bring up it's ribbon.

Make sure that the attribute Name is selected from the pull-down Field option.

Click on the Label button on the left side of the ribbon.

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 2/51
9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

The default placement of labels will seldom give you the desired outcome straight out of the box. Fortunately,
ArcPro Tutorials Home ArcGIS account setup FAQ Intro to ArcGIS Pro Creating a
ArcGIS Pro offers many tools to manipulate the software's labeling behavior. But before you attempt any
labeling modifications, you should first define the scale for which the labels are to be produced. Not doing so will
change the label size (and sometimes placement) at different zoom levels. For example, at a 1:1600 scale, the
labels are conveniently placed inside the polygons as shown in the following figure:

The same map, at a scale of 1:6000 will show a far more crowded field of labels as shown in the following figure:

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 3/51
9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

ArcPro Tutorials Home ArcGIS account setup FAQ Intro to ArcGIS Pro Creating a

The intended map scale will dictate the label positioning strategies. In this tutorial we will settle for a working
scale of 1:4,000. To ensure that this scale is maintained regardless of the zoom level we work in, we will need to
first fix the scale of the map document.

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 4/51
9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

Right-click on the Map frame in the Contents pane and select Properties.
ArcPro Tutorials Home ArcGIS account setup FAQ Intro to ArcGIS Pro Creating a

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 5/51
9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

ArcPro Tutorials Home ArcGIS account setup FAQ Intro to ArcGIS Pro Creating a

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 6/51
9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

ArcPro Tutorials Home ArcGIS account setup FAQ Intro to ArcGIS Pro Creating a

Under the General tab in the Map properties window, set the Reference scale to 1:4,000 (You can simply type
the value 4000 in the field).

Click OK to close the Map Properties window.

Note that now, as you zoom in and out, the label size and placement remains fixed relative to the map's feature
geometries.

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 7/51
9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

ArcPro Tutorials Home ArcGIS account setup FAQ Intro to ArcGIS Pro Creating a

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 8/51
9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

ArcPro Tutorials Home ArcGIS account setup FAQ Intro to ArcGIS Pro Creating a

Modifying the building labels


We will modify the label text by lightening its color and adding a background fill color to render it more
distinguishable from the background features.

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 9/51
9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

Select the Building layer in the Contents pane.


ArcPro Tutorials Home ArcGIS account setup FAQ Intro to ArcGIS Pro Creating a
Make sure that the Labeling ribbon is active.

Change the font color to 60% grey.

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 10/51
9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

Next, click on the very small arrow icon in the lower right-hand side of the Text Symbol feature group . This
ArcPro Tutorials Home ArcGIS account setup FAQ Intro to ArcGIS Pro Creating a
will bring up a label properties pane on the right-hand side of the window.

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 11/51
9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

In the Label Class pane, expand the Halo element and set its Halo symbol to white fill.
ArcPro Tutorials Home ArcGIS account setup FAQ Intro to ArcGIS Pro Creating a
This will add a thin white background to the text to help distinguish it from the line features in the map.

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 12/51
9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

ArcPro Tutorials Home ArcGIS account setup FAQ Intro to ArcGIS Pro Creating a

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 13/51
9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

ArcPro Tutorials Home ArcGIS account setup FAQ Intro to ArcGIS Pro Creating a

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 14/51
9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

Set the outline width to 0.


ArcPro Tutorials Home ArcGIS account setup FAQ Intro to ArcGIS Pro Creating a
Click Apply at the bottom of the Label Class pane to see the resulting change in the map.

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 15/51
9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

ArcPro Tutorials Home ArcGIS account setup FAQ Intro to ArcGIS Pro Creating a

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 16/51
9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

ArcPro Tutorials Home ArcGIS account setup FAQ Intro to ArcGIS Pro Creating a
You now have a not-so-overwhelming but yet legible set of building labels.

Labeling contours

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 17/51
9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

Next we'll label the contours using its CONTOUR attribute values. Here, we'll assign the same color to the labels as
ArcPro Tutorials Home ArcGIS account setup FAQ Intro to ArcGIS Pro Creating a
that used to symbolize the contours. We'll also add a halo to the text to make the labels more legible. We'll then
explore some of the built-in label position options offered by the software.

Select the Contours layer in the Contents pane.

Bring up the Labeling ribbon.

In the ribbon, set the labeling Field to CONTOUR then click on the Label button.

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 18/51
9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

The default label placement is not appealing. The value seem disconnected from the contour lines.
ArcPro Tutorials Home ArcGIS account setup FAQ Intro to ArcGIS Pro Creating a

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 19/51
9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

Expand the Label Placement feature group in the Labeling ribbon by clicking on the small arrow icon in the
ArcPro Tutorials Home ArcGIS account setup FAQ Intro to ArcGIS Pro Creating a
lower right-hand corner of the box. This will open the Label Class pane.

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 20/51
9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

Under the Position tab, expand the Placement element and, from the pull-down options, select Contour
ArcPro Tutorials Home ArcGIS account setup FAQ Intro to ArcGIS Pro Creating a
Placement.

Check the Page label alignment option.

Select Centered straight from the second drop-down menu.

The changes should be reflected automatically in the map.

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 21/51
9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

ArcPro Tutorials Home ArcGIS account setup FAQ Intro to ArcGIS Pro Creating a

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 22/51
9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

ArcPro Tutorials Home ArcGIS account setup FAQ Intro to ArcGIS Pro Creating a

Next, change the font color to 20% grey (this matches the contour line color).

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 23/51
9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

Finally, you will add a halo to the text. In the Label Class pane, select the Symbol tab.
ArcPro Tutorials Home ArcGIS account setup FAQ Intro to ArcGIS Pro Creating a
Expand the Halo element and set its color to white.

Click Apply to implement the changes.

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 24/51
9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

ArcPro Tutorials Home ArcGIS account setup FAQ Intro to ArcGIS Pro Creating a

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 25/51
9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

ArcPro Tutorials Home ArcGIS account setup FAQ Intro to ArcGIS Pro Creating a

Labeling the Roads layer


The Roads layer is a polygon that is divided into different features (parking lots, roads, etc...). This division is not
apparent in the map since the layer's outline is set to No Color. In the next step you will label the polygons using
the layer's Name attribute. However, some of the feature shapes will pose a labeling challenge requiring us, at
some point, to convert the labels to a standalone, editable, label feature class.

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 26/51
9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

Select the Roads layer in the Contents pane.


ArcPro Tutorials Home ArcGIS account setup FAQ Intro to ArcGIS Pro Creating a
Activate the Labeling ribbon.

Set the Field name to Name.

Click on the Label button.

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 27/51
9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

ArcPro Tutorials Home ArcGIS account setup FAQ Intro to ArcGIS Pro Creating a

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 28/51
9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

Next, change the label colors to Cordovan Brown.


ArcPro Tutorials Home ArcGIS account setup FAQ Intro to ArcGIS Pro Creating a

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 29/51
9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

In the Label Class pane, click the Position tab and set the placement to Curved in polygon.
ArcPro Tutorials Home ArcGIS account setup FAQ Intro to ArcGIS Pro Creating a

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 30/51
9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

ArcPro Tutorials Home ArcGIS account setup FAQ Intro to ArcGIS Pro Creating a

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 31/51
9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

This placement strategy works well for some of the features in the layer such as the Marylow parking lot or the
ArcPro Tutorials Home ArcGIS account setup FAQ Intro to ArcGIS Pro Creating a
Alumni parking lot. But some of the other features such as Mayflower Hill Drive require additional tweaking which
is best done independently from the other labels. To manually edit labels, you need to convert the current set of
labels to a standalone feature class. Think of this as yet another vector layer type (like a polygon or polyline layer)
with the difference being that you are storing text labels and not points or line segments.

Select the Map tab then click on Convert to Annotation from the Map ribbon. This should bring up a
geoprocessing pane.

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 32/51
9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

In the Convert Labels to Annotation geoprocessing pane, set the following:


ArcPro Tutorials Home ArcGIS account setup FAQ Intro to ArcGIS Pro Creating a
Scale = 1:4,000

Convert type to Single layer.

Feature layer: Roads.

Save the output to the Labeling_features.gdb geodatabase that came with this tutorial's dataset.

Click on Extent of a layer button under the Extent block.

Note that the geodatabase was already created for you. You could save it to a default geodatabase or create a
new one from scratch.

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 33/51
9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

ArcPro Tutorials Home ArcGIS account setup FAQ Intro to ArcGIS Pro Creating a

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 34/51
9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

ArcPro Tutorials Home ArcGIS account setup FAQ Intro to ArcGIS Pro Creating a

Set the Extent to Roads (this to ensure that all labels are converted).

Click Run .

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 35/51
9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

When done, you will see the new annotation layer added to your map document. You'll also note that the original
ArcPro Tutorials Home ArcGIS account setup FAQ Intro to ArcGIS Pro Creating a
labels initially enabled for the Roads layer are now disabled. All road labels displayed in the map are now being
pulled from the RoadsAnno layer. Next, we will edit the Mayflower Hill Drive label.

Note: the location and orientation of the labels in your map may be different from those shown in this tutorial.
The following steps apply to a stacked annotation that you might want to unstack such as Mayflower Hill Drive in
this working example.

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 36/51
9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

ArcPro Tutorials Home ArcGIS account setup FAQ Intro to ArcGIS Pro Creating a

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 37/51
9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

ArcPro Tutorials Home ArcGIS account setup FAQ Intro to ArcGIS Pro Creating a

Select the RoadsAnno layer in the Contents pane.

Click the Edit tab to enable its ribbon.

In the Edit ribbon click on the Annotation tool.

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 38/51
9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

With the annotation selector tool, select the Mayflower Hill Drive label. (Note that the location of your
ArcPro Tutorials Home ArcGIS account setup FAQ Intro to ArcGIS Pro Creating a
Mayflower Hill Drive may not match that shown in this figure)

A selection box with handles should wrap the label. You may also see a font properties tool pop up at the bottom
of the map window. Be careful not to manipulate the handles of the box--doing so will resize the label's fonts. If at
any point you inadvertently make changes to the label, simply type ctrl + Z to undo the changes.

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 39/51
9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

The next key step is to unstack the label. In the simplest case, all you need to do is right-click on the label in
ArcPro Tutorials Home ArcGIS account setup FAQ Intro to ArcGIS Pro Creating a
the map and select Unstack.

If the Unstack option is not available, you might need to convert the label to a single part and/or straighten the text
as shown in the following example.

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 40/51
9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

Depending on your annotation state, you might need to convert it to a single part by right-clicking it and
ArcPro Tutorials Home ArcGIS account setup FAQ Intro to ArcGIS Pro Creating a
selecting Convert to Single Part. If this option is not enabled, your label is already in a single part.

NOTE: This step should unstack the text. You might need to right-click on the text again and select Curvature >>
Straight, then right-click again and select unstack.

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 41/51
9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

Next, select the Move tool from the Tools feature group (in the Edit ribbon).
ArcPro Tutorials Home ArcGIS account setup FAQ Intro to ArcGIS Pro Creating a

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 42/51
9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

Move the Mayflower Hill Drive label inside the road polygon. You may wish to move it further down the drive
ArcPro Tutorials Home ArcGIS account setup FAQ Intro to ArcGIS Pro Creating a
(south of the Marylow parking lot)

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 43/51
9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

ArcPro Tutorials Home ArcGIS account setup FAQ Intro to ArcGIS Pro Creating a

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 44/51
9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

ArcPro
You may alsoTutorials
Home ArcGIS account setup FAQ Intro to ArcGIS Pro
need to rotate the label. This can be done by selecting the Rotate tool from the Tools feature
Creating a

group.

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 45/51
9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

At this point, feel free to continue editing the annotations. Remember, you can always undo a change by
ArcPro Tutorials Home ArcGIS account setup FAQ Intro to ArcGIS Pro Creating a
typing ctrl + Z.
When done editing the label, press the F2 key.

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 46/51
9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

When you are done editing the annotations, make sure to save the edits by clicking on the Save button on the
ArcPro Tutorials Home ArcGIS account setup FAQ Intro to ArcGIS Pro Creating a
Edit ribbon.

Labeling the point layer


Finally, you will label the point layer. The procedure is the same as it is for any other geometry type however, in
our working example, we do not have a flagpole point layer attribute that we can use for labeling the point
feature. Instead, we will manually type in the label value for the point.

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 47/51
9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

Select the flagpole layer in the Contents pane.


ArcPro Tutorials Home ArcGIS account setup FAQ Intro to ArcGIS Pro Creating a
Click on the Labeling tab to bring up its labeling ribbon.

On the left-hand side of the ribbon, click on the Expression button next to the pull-down field. This will bring
up the Label Class where we'll be able to define the label expression.

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 48/51
9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

In your right-hand pane, you should see an expression box, type "Flagpole" in this box (make sure to include
ArcPro Tutorials Home ArcGIS account setup FAQ Intro to ArcGIS Pro Creating a
the double quotes).

Click the Apply button at the bottom of the Label Class pane.

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 49/51
9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

Next, click the Label button to place the label in the map.
ArcPro Tutorials Home ArcGIS account setup FAQ Intro to ArcGIS Pro Creating a

Now on your own, feel free to modify the font style and color as you please following the instructions covered
in earlier steps.

This completes this tutorial.

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 50/51
9/4/24, 10:45 PM ArcPro Tutorials - Labeling features

Manuel "Manny" Gimond (mgimond@colby.edu)


ArcPro Tutorials Home ArcGIS account setup FAQ Intro to ArcGIS Pro Creating a

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.

https://sites.google.com/colby.edu/mgimond-arcgis-pro/labeling-features?authuser=0 51/51

You might also like