Exercise 2: Interacting with representation properties

This topic applies to ArcGIS for Desktop Standard and ArcGIS for Desktop Advanced only.

Complexity: Beginner Data Requirement: ArcGIS Tutorial Data for Desktop Data Path: C:\ArcGIS\ArcTutor\Representations Goal: Understand how to interact with feature class representations and how representation rules drive the way features are displayed on a map.

In this exercise, you will work in ArcMap to understand how to interact with feature class representations and how representation rules drive the way features are displayed on a map. You will start by learning how to add a representation rule to one of the feature class representations you created in Exercise 1. You will learn to interact with marker, line, and fill symbology as defined by representation rules. You will learn how to modify representation rules by adding and modifying symbol layers and geometric effects.

As you work on this exercise, keep in mind that representation properties cannot be changed on the Layer Properties dialog box when an edit session is open.

Examining representation rules

Steps:
  1. Start ArcMap.
  2. Continue with the map document from Exercise 1 or open Exercise_2.mxd.
  3. Ensure that the Editor and Representation toolbars are visible. If not, click Customize > Toolbars and add each toolbar.
  4. Double-click RoadL_Rep in the table of contents to open the Layer Properties dialog box.
  5. Click the Symbology tab.

    The RoadL_Rep layer is symbolized with the RoadL_Rep feature class representation, which contains four representation rules. These four rules have been translated from the four symbol categories present in the original symbolized layer from which the feature class representation was derived.

  6. Click the third representation rule, Class 2, in the list. The right side of the dialog box shows the properties of that representation rule.

    The Class 2 representation rule consists of three stroke symbol layers, indicated by the three stacked tabs showing a stroke squiggle.

  7. Click the first (topmost) line tab Symbol Layer Stroke in the list of symbol layers.

    Layer Properties Symbology tab showing Class 2 representation rule symbol layer

    This symbol layer includes the Dashes geometric effect to place red solid lines in alternating intervals along the linear geometry of the feature. This symbol layer is at the top of the symbol layer stack for this rule, so it is the last to be drawn and therefore appears above the other two symbol layers.

  8. Click the second, then the third line symbol layer tabs Symbol Layer Stroke in this representation rule.

    Neither of these symbol layers includes a geometric effect. The bottommost symbol layer is a solid, thick black line and is the first to be drawn. The second symbol layer is a slightly thinner, white line. Together they give the appearance of a cased line symbol.

  9. Click OK to close the Layer Properties dialog box.
  10. Repeat steps 4 through 9, if desired, to see how other symbol categories were translated into representation rules when you created feature class representations in Exercise 1.

Adding new representation rules

Steps:
  1. Click Bookmarks > 1) Buildings.
  2. Double-click BuildingP_Rep in the table of contents to open the Layer Properties dialog box.
  3. Click the Create New Rule button Create New Rule to add a new representation rule to the BuildingP_Rep feature class representation.

    Create New Rule button

  4. Click the Layer Options button Layer Options button and click Units > Points.
  5. Click the name of the new rule, Rule_2, to select it.

    Selecting Rule_2

    Type New Buildings to rename it, then press ENTER.

    The New Buildings representation rule consists of a single marker symbol layer with a default representation marker (a 5-point black square). You are going to change this to a 2-point red square instead.

  6. Inside the marker symbol layer, click the black square representation marker.

    The black square representation marker

    The Representation Marker Selector dialog box opens.

    The Representation Marker Selector dialog box

  7. Click Properties.

    The Marker Editor window opens with the black representation marker filling the canvas.

  8. Use the Select Part tool Select Part to select the representation marker.

    A representation marker is made up of symbol layers and geometric effects just as representation rules are. This representation marker consists of a single fill symbol layer, filling the square with solid black.

    Marker Editor showing representation marker of a single fill symbol layer

  9. Click the swatch next to the Color property in the fill symbol layer and choose a red from the palette that opens.

    The representation marker turns red.

    Color property palette

  10. Click OK to close the Marker Editor window and click OK to close the Representation Marker Selector dialog box.
  11. Click the Size property text box. Type 2 and press ENTER.

    The New Buildings representation rule is now symbolized with a marker symbol layer containing a 2-point red square.

    Marker symbol size set to 2 pt

  12. Click OK.

    A Warning dialog box appears to let you know that the changes you are making to a rule will be stored in your database.

    Warning dialog box

    Click OK to accept and close the warning. View the results and notice that the points are still symbolized with the default symbol. They are symbolized this way because their values in the RuleID field are all set to 1, which corresponds to the Symbol_1 representation rule.

Applying new representation rules to features

Steps:
  1. Right-click the BuildingP_Rep layer in the table of contents and click Selection > Make this the only selectable layer.
  2. Start editing.
  3. Select some of the buildings in the current view using the Select tool Select Tool on the Representation toolbar.
  4. Open the Representation Properties window using the Representation Properties button Representation Properties on the Representation toolbar.
  5. On the Representation Properties window, click the Representation rule pull-down list and choose the New Buildings rule to apply to all the selected buildings.

    Representation Properties window

  6. Close the Representation Properties window, save your edits, then stop editing.
  7. Open the layer properties of BuildingP_Rep.
  8. Choose the New Buildings representation rule.
  9. Type 45 for the Angle value.

    Marker Angle value of 45

  10. Click OK to close the Layer Properties dialog box and see the changes.

    Note that all buildings following this representation rule are now angled 45 degrees from horizontal.

    All buildings angled 45 degrees from horizontal

    Now you will learn how to set unique angle values for each building.

  11. Open the Layer Properties dialog box for the BuildingP_Rep layer again. Click the Display Field Overrides button Display Field Overrides.
  12. Choose the Angle field from the pull-down list to be the explicit field for the angle property. This tells the Angle property to find its values from within the database.

    Angle now set to angle for the marker

  13. Click OK.

    Note that the buildings are now angled according to the values stored in the Angle attribute field of the data.

    Buildings angled according to values stored in the Angle attribute field of the data

Adding geometric effects to representation rules

According to new specifications for the map, the symbol for trails must change to a double dashed line instead of the single black line as found in the old map. To accomplish this task, you will add some geometric effects to the representation rules. Adding geometric effects does not alter the underlying geometry of your features; rather, they allow you more control over the way your features are symbolized.

Steps:
  1. Click Bookmarks > 2) Trail and Swamp.

    Trail and Swamp bookmark

  2. Make TrailL_Rep the only selectable layer.
  3. Open the Layer Properties dialog box for TrailL_Rep.
  4. Click the representation rule named Trail and click the line symbol layer.

    Changing line symbol in Trail representation rule

  5. Click the Add button Add to see the Geometric Effects dialog box.

    Add (+) button

  6. Expand the Line input folder and click Offset.

    Line input folder contents

    Offset dialog box

  7. Click OK to close the Geometric Effects dialog box and add the Offset geometric effect to the rule.
  8. In the Offset text box, type 0.5 for the value and press ENTER.
  9. Add a new layer to this representation rule by clicking the Add New Stroke Layer button Add stroke layer. Notice that a new layer is added to the rule.

    Note that the newly added stroke layer has the default line width of 1.

  10. Type 0.5 in the Width text box.
  11. Add a line-to-line Offset geometric effect in this new stroke layer, just as you did before in steps 5 and 6.
  12. For this stroke layer, however, type -0.5 in the Offset text box.
  13. Click Apply to see the result on the map.

    Map result for the new stroke layers

    Geometric effects can be added to an individual symbol layer in a representation rule as you have just seen. They can, however, be applied to all layers as well. To apply a geometric effect to all the symbol layers in a representation rule, it must be added as a global effect. You will learn how to do this.

  14. Click the top-level tab Global effects to expand the global effects section of the rule. You will see a message indicating that there are no global effects at this time.

    No global effect

  15. Click the Add button Add to open the Geometric Effects dialog box.
  16. Choose the Dashes geometric effect from under the Line input heading and click OK.

    A new dialog box is added to the global effects section of the representation rule.

  17. Type 3 1 in the Pattern text box. Be sure to include a space between the two numbers.

    Dashes geometric effect properties—Pattern text box

  18. Click OK to see the result.

    Map results for the Dashes geometric effect

    Notice that global effects impact all symbol layers.

Adding markers to polygon symbology

Steps:
  1. Open the Layer Properties dialog box for WetlandsA_Rep.
  2. Choose the swamp representation rule.

    In the original map, swamps are symbolized simply with the color Sodalite Blue. You will add a marker symbol layer to the representation rule to make the swamp symbology more user-friendly.

  3. Click the Add New Marker Layer button Add marker layer.

    Notice that a default representation marker and marker placement style are included with the new symbol layer.

  4. Click the black square representation marker to open the Representation Marker Selector dialog box.
  5. Type swamp in the search box at the top of the Representation Marker Selector dialog box. Choose the resulting symbol and click OK.

    Representation Marker Selector dialog box with swamp symbol

  6. Type 3 in the Size text box to change the size.

    Notice that the default marker placement style Polygon center is included in this marker symbol layer, which places only one marker in each polygon. You will change the marker placement style to one that puts many markers within the polygon.

  7. Open the Marker Placements dialog box by clicking the arrow Change marker placement style next to the Polygon center placement style label.

    Polygon center arrow

  8. Under the Polygon input heading, choose Randomly inside polygon.

    Randomly inside polygon selected from within Polygon input on the Marker Placements dialog box

  9. Click OK to close the Marker Placements dialog box.

    Randomly inside polygon placement style properties

  10. Click OK to close the Layer Properties dialog box.

    You can now see that there is a pattern of random swamp symbols.

    Map results with random pattern of swamp symbols

  11. If you want to proceed to the next exercise, leave ArcMap open.
  12. If you want to return to this tutorial later, save this map document as Exercise_2.mxd and exit ArcMap.

Congratulations, you've completed exercise 2.

Here's what you created and accomplished in this exercise:

Exercise 3 covers the representation editing experience. By editing feature representations, you will learn the impacts of modifying shapes and representation parameters and how they become overrides to the representation rules. You will interact with the selection and editing tools and see how both the appearance and properties of representations are changed.

Related Topics

10/25/2012