Exercise 5: Editing routes

Complexity: Beginner Data Requirement: ArcGIS Tutorial Data Setup Goal: Edit routes

There are a number of tools in ArcMap that make the interactive creation and editing of route measures easy. In this exercise, you will create a new route from a selected set of linear features and set its identifier. You will then convert the measures of this newly created route from feet to miles. Last, you will recalibrate the route using known measure values at specific locations on your map.

If you have not completed Exercise 2, open ArcCatalog. Within the table of contents, delete PITT.gdb in your \MyLR folder and rename PITT_Results.gdb to PITT.gdb.

Opening an existing map document

To do this exercise, you must start ArcMap.

Steps:
  1. Start ArcMap by clicking Start > All Programs > ArcGIS > ArcMap 10.
  2. Click File > Open.

  3. Click the Look in drop-down arrow on the Open dialog box and navigate to the folder where you installed the data for this tutorial.
  4. Double-clickEx5.mxd.

    The map opens.

    Opening Ex5.mxd

Adding route data to your map

You will use one of the route feature classes you created in Exercise 2: Creating and calibrating route data to complete this exercise.

Steps:
  1. Click the Add data button.

  2. Click the Look in drop-down arrow and navigate to your \MyLR folder. Double-click PITT.gdb and double-click the PITT feature dataset.
  3. Click the routes_new feature class.
  4. Click Add.

Adding the toolbars and editing

The toolbars necessary to complete this exercise might not be visible.

Steps:
  1. Click the Editor Toolbar button to add the Editor toolbar to ArcMap.
    The Editor toolbar button on the Standard Toolbar
  2. Click the Editor menu, point to More Editing Tools, then click Route Editing.
  3. Click the Editor menu and click Start Editing.
    Call Start Editing

Making a route from selected features

The highway authority has been informed that it will now be responsible for maintaining a road that it previously had not been maintaining. It is necessary, therefore, to select the appropriate features from the base_roads feature class and make a route in the routes_new feature class out of them.

The Make Route command creates a new route in the target feature layer by merging a selected set of line features and setting the measure values. The selected line features do not need to be from the target feature layer.

Steps:
  1. Click Selection on the Main menu and click Select By Attributes.

  2. Click the Layer drop-down arrow and click base_roads.
  3. Type the following in the text box: "FENAME" = 'Cornerstone Row'.
    TipTip:

    If you are clicking in the field boxes to build the expression, you may need to click Complete List, under Unique sample values.

  4. Click Apply.
  5. Click Close.

    Nine features from the base_roads feature layer are now selected.

  6. Right-click the base_roads layer in the table of contents, point to Selection, then click Zoom To Selected Features.
    Showing the Zoom To Selected Features command

  7. Right-click the base_roads feature layer and click Open Attribute Table.
    Opening Attribute Table for Base_roads FC.
  8. Click the Show Selected Records button to show only the selected records.

    You can also see the total number of selected records shown along the bottom of this window.

    Selected records in the base_roads attribute table.
  9. Close the Attributes table.
  10. Click the Make Route button on the Route Editing toolbar.
    Shows MakeRoute command on the Route Editing Toolbar.

    Notice routes_new is automatically specified as the feature template, because it is the only route feature class in the map. Had there been multiple route feature classes in the map, you could specify the appropriate template. Feature templates define all the information required to create a new feature: the layer where a feature will be stored and the attributes new features will be created with.

  11. Click the Start Point button.

    The Make Route dialog box changes and lets you know you need to pick a route starting point.

  12. Click the map near the upperright corner of the selected set of features. This is where the output route's measures will begin.
  13. The program tries to assist you by circling the endpoint it will select. As you move your pointer along the route, this point can change. This is useful because you do not need to select the exact spot on the route; just click on the display when the correct location is circled.
  14. Click Make Route on the Make Route dialog box.
    Show the Make Route Dialog and specifying the Start Point

The new route flashes when it is being created. During the route creation process, the selected lines are deselected and the new route is selected. This is so you can set the new route's attributes.

Setting the route identifier

Because the newly created route is selected, you can now set the route identifier. The route identifier uniquely identifies each route.

Steps:
  1. Click the Attributes button on the Editor toolbar.
    Showing Attributes button on the Editor Toolbar.
  2. Click the ROUTE1 value and type 40001777.
    Editing the Route Identifier
  3. Press ENTER on your keyboard.
  4. Close the Attributes window.

Converting route measure units

When you created the new route, you accepted the default method for setting the route measures. This method accumulates the geometric length of the input line features and uses the length as the measure. Because the coordinate system of the feature class is state plane feet, the measures on the new route are in feet. However, the measures on all other routes in the feature class are in miles.

Steps:
  1. The newly created route should still be selected. If it is not, select it.
  2. Double-click the selected route feature.

    The selected feature will now be loaded into the edit sketch.

    Edit Sketch
  3. Click the Sketch Properties button.

    The Edit Sketch Properties opens.

  4. Note the size of the measure values (in column M).

  5. Close the Edit Sketch Properties window.
  6. Right-click anywhere over the edit sketch (you know you are over the line when the pointer changes), point to Route Measure Editing, then click Apply Factor.
  7. Type 0.00018939 in the Factor text box and press ENTER on the keyboard.

    This converts feet to miles.

  8. At this point, you have only made changes to the edit sketch, not the route feature.
  9. Press F2 to finish the edit sketch. Alternatively, right-click anywhere over the edit sketch and click Finish Sketch.

Your route measures are now in miles. You can verify this by double-clicking the selected route to bring it into the edit sketch, right-clicking anywhere over the sketch, then clicking Sketch Properties. Note that this is an alternate way to perform steps 2 and 3.

Recalibrating a route

So far in this exercise, you have created a route and transformed its measures from feet to miles. Imagine that at some point the maintenance crew went out into the field and recorded the actual mileage for this new route. The mileage was captured every time the new route intersected with another route from the same feature class. In this section of the exercise, you will recalibrate the newly created route based on this mileage information.

Steps:
  1. The newly created route should still be selected. If it is not, select it.
  2. Click the Editor drop-down arrow and click Snapping > Snapping Toolbar.

    This Snapping toolbar is now visible.

  3. Ensure that vertex snapping is enabled and edge snapping is disabled.
  4. Close the Snapping toolbar. It will not be used again in this exercise.
  5. With the snapping environment set, you will be able to create calibration points that are snapped to the end vertex of the features in the routes_new layer, thereby ensuring accuracy of the route measures at the calibration points. Setting the snapping environment, however, is not necessary for the Calibrate Route tool to work.
  6. Click the Calibrate Route button on the Route Editing toolbar.

    The Calibrate Route dialog box is now on the screen, but it is empty. Your next task is to digitize the calibration points.

  7. With the Calibrate Route dialog box open, click the Add Calibration Pointstool.
  8. Click along the route at nine different places to create the calibration points. The locations of the calibration points are indicated in the graphic below.
  9. Enter the new m-values (see values in graphic below) for each calibration point by clicking each value in the column and typing the new value.
  10. Click Calibrate Route.

Saving your edits

Once you have completed the steps in this exercise, you can choose to save or discard your edits by stopping the edit session.

Steps:
  1. Click the Editor menu and click Stop Editing.
  2. Click Yes to save your edits.

In this exercise, you first learned how to create a route from a selected set of line features. Next, you converted the route measures from feet to miles. Last, you learned how to recalibrate a route using calibration points you digitized on the map.


Published 6/7/2010