Exercise 3: Displaying and querying routes

Complexity: Beginner Data Requirement: ArcGIS Tutorial Data for Desktop Goal: Displaying and querying routes

In this exercise, you will add the route data you created in Exercise 2 Creating and calibrating route data to an existing map document and symbolize it. You will then do the following:

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

Open an existing map document

To begin this exercise, you will start ArcMap and open an existing document.

Steps:
  1. Start ArcMap by clicking Start > All Programs > ArcGIS > ArcMap 10.1.
  2. In the Getting Started dialog box, choose Existing Maps.
  3. Double-click Browse for more.
  4. Click the Look in drop-down arrow in the Open dialog box and navigate to the folder where you copied the data for this tutorial (in other words, C:\MyLR).
  5. Click Ex3.mxd.
  6. Click Open.
  7. Opening Ex3.mxd

    This map contains the following layers in a data frame called Pitt County:

    calibration_points

    The points used in exercise 2 to recalibrate the route measures

    base_roads

    All the roads in Pitt County

    city boundaries

    The boundaries of the cities in Pitt County

    county boundary

    Pitt County boundary

    The map currently displays the city boundaries and county boundary layers. Their check boxes are checked in the table of contents. The calibration_points layer is checked, but scale suppression has been set. It will only be visible when you zoom in to a scale beyond 1:25,000.

  8. Check the box next to the base_roads layer in the contents.
  9. Checking base_roads in the TOC

    You will now see all the roads in Pitt County. This includes roads not maintained by the highway authority. The roads maintained by the highway authority were written to the routes feature class.

Adding route data to your map

Steps:
  1. Click the Add Data button.
    Clicking AddData button on AC standard toolbar
  2. Click the Look in drop-down arrow and navigate to your \MyLR folder.
  3. Double-click PITT.gdb and double-click the PITT feature dataset.
  4. Press the CTRL key and select both the routes and routes_new feature classes.
    Selecting and adding both routes and routes_new feature classes
  5. Click Add.

Changing the display symbol

The default colors and symbols with which ArcMap displays the routes layer might make it difficult to see where the route features are located. It is easy to change the colors and symbols used to display features in ArcMap.

Steps:
  1. Click the line symbol in the contents for the routes layer to display the Symbol Selector dialog box.

    Routes line symbol in TOC

  2. Scroll down until you find a symbol you like and click it.
  3. Click OK.

    Your routes layer is displayed with the symbol you chose.

    Line symbol selector for the routes feature class
  4. Repeat steps 1 through 3 for the routes_new layer.
  5. TipTip:

    You can also open the Symbol Selector dialog box by right-clicking the layer in the table of contents, clicking Properties, then clicking the Symbology tab. To simply change the color of a symbol, right-click the symbol in the table of contents to display the color palette and click any color or More Colors.

Setting the route identifier field

Whenever route data is added to a map, ArcMap exposes some additional layer properties. One of these properties is the Route Identifier field. The contents of this field uniquely identify each route.

Setting the Route Identifier field is not required. Doing so, however, reduces the number of steps required to use many of the ArcMap linear referencing dialog boxes, tools, and wizards.

Steps:
  1. Right-click the routes layer in the table of contents and click Properties.

    The Layer Properties dialog box opens.

  2. Click the Routes tab.
  3. Click the Route Identifier drop-down arrow and click Route1.
  4. Click OK.
    ArcMap Layer Properties dialog box.
  5. Repeat steps 1 through 4 for the routes_new layer.

Adding the Identify Route Locations tool

ArcMap gives you the ability to point to a route in a map and find the route identifier along with the measure value at that location. In this part of the exercise, you will use the Identify Route Locations tool to inspect the measures on the routes you created in exercise 2.

The Identify Route Locations tool does not appear on any toolbar by default. You will have to add it to one.

Steps:
  1. Click Customize > Customize Mode.

    The Customize dialog box opens.

    Customize Mode option, on the ArcMap Cutsomize menu.
  2. Click the Commands tab.
  3. Click Linear Referencing in the Categories list.
  4. Drag and drop the Identify Route Locations tool to the toolbar of your choice, such as the Tools toolbar.
    Shows dragging the ID route locations tool to the Tools toolbar
  5. Click Close.

Identifying route locations

In ArcMap, a bookmark is a saved map location. A bookmark has been created for you containing some of the calibration points used to recalibrate the routes in Exercise 2 Creating and calibrating route data.

Steps:
  1. Click Bookmarks and click Calibration Points.
    Clicking Calibration Points Bookmark
  2. When ArcMap moves to the saved location, the calibration points appear with labels that represent the measure values for each point. The reason they appear when the bookmark has been used is because scale suppression was set on the layer.
  3. Click the Identify Route Locations button.
    Shows command on the toolbar
  4. Move the pointer over one of the calibration points and click.

    Route locations from both the routes and routes_new layers are identified.

  5. Click the route node for each of the route layers.
    Identify route location results window.
  6. The numeric value listed for each of these nodes corresponds to the value stored in the Route Identifier field, which you set in a previous section of this exercise. Note that the measure values for the two routes differ. Note further that the measure value for the routes_new layer corresponds closely to the measure value of the calibration point you clicked—the closer you are to a calibration point, the closer the measure will be.
  7. Right-click the route node for one of the layers and explore the context choices available to you.
  8. Close the Identify Route Location Results window.
    Identify route location results window.
  9. Uncheck the check box for the calibration_points layer in the table of contents to make it not visible. It will not be used any further in this exercise.
    Uncheck Calibration points layer

Finding route locations

In many linear referencing applications, you will discover that you will often need to find a location along a route. For example, you may need to find where an accident occurred along a highway. On a paper map, it is hard to find a route location. This is because route measures are typically not shown. In ArcMap, finding a route location is made easy.

Steps:
  1. Click the Find button on the ArcMap Tools toolbar.
    Find Command
  2. Click the Linear Referencing tab.
  3. Click the Route Reference drop-down arrow and click routes_new.
  4. Notice that the field listed in the Route Identifier drop-down list corresponds to the Route Identifier field you set previously in this exercise.
  5. Click Load Routes.
  6. Click the Route drop-down arrow and choose30000121.

    This number is often a combination of many numeric fields and is meant to have no political, social, or economic meaning, so that it will not change over time.

  7. Type 5 in the Location text box.
  8. Click Find.
    Linear referencing Find dialog box.
  9. Right-click the route location that was found and explore the context choices available to you.
    Linear referencing Find dialog box.
  10. Close the Find dialog box.

Displaying route measure anomalies

In most linear referencing applications, route measure values are expected to follow a set of rules. For example, you might expect that route measures always increase over the course of a route. ArcMap has the ability to show you where route measures do not adhere to the behavior you expect. These are known as route measure anomalies.

Steps:
  1. Click the Full Extent button on the ArcMap Tools toolbar.
    ArcMap tools toolbar.
  2. Right-click the routes layer in the contents and click Properties.
  3. Click the Routes tab.
  4. Check Show where measures do not increase.
  5. Click the Line Symbol button and choose a line symbol you like. Do the same for the marker symbol.
  6. Click OK.
  7. Displaying Route Measure Anomalies

    Remember that the routes feature class was created from the base_roads feature class in Exercise 2 Creating and calibrating route data. There are a few digitizing and attribute errors that caused the measure anomalies to exist in the routes feature class. Route measure anomalies can be fixed with ArcMap route editing tools.

3/3/2014