Exercise 2: Interacting with representation properties

This topic applies to ArcEditor and ArcInfo only.

Complexity: Beginner Data Requirement: ArcGIS Tutorial Data Setup 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.

    Show Representations in the Layer Properties Symbology tab.

    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 draw 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 10, 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 button to add a new representation rule to the BuildingP_Rep feature class representation.

    The 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.

    Select Rule_2 to rename it.

    Type New Buildings to rename it.

    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 opens with the black representation marker filling the canvas.

  8. Use the Select Part tool The Select Part tool. 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.

    This representation marker consists of a single fill symbol layer, filling the square with solid black.

  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.

    The Color property in the fill symbol layer is used to choose Mars Red from the palette.

  10. Click OK to close Marker Editor, then 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.

    The Marker Symbol size is 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.

    The 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.

    The default symbol is controlled by the RuleID field values that are all set to 1.

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.

    Use the Select tool to select some buildings.

  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.

    On the Representation rule pull-down list choose New Buildings to apply to all the selected buildings.

  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.

    Type “45” for the angle value in the dialog box for Angle.

  10. Click Apply and move the dialog box out of the way to see the changes.

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

    All buildings are now angled 45 degrees from horizontal.

    Now you will learn how to set unique angle values for each building. Stop editing and save edits.

  11. Open the Layer Properties dialog box again. Click the Display field overrides button Representation property mapped to an explicit field. This will tell the Angle property to find its values from within the database.
  12. Choose the Angle field from the pull-down list to be the explicit field for the angle property.

    The Angle Override Field is to be changed to Angle.The Angle is 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.

    The buildings are angled according to the 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.

    Change the line symbol for the line in the representation rule named Trail.

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

    To see the Geometric Effects dialog box click the (+) button.

  6. Expand the Line input folder and click Offset.

    Expand Line input in the Geometric Effects dialog box and click Offset.

    The 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.
  9. Add a new layer to this representation rule by clicking the Add New Stroke Layer button Add stroke layeras shown below. 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. You will now 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 results for the new stroke layers.

    Geometric effects can be added to an individual symbol layer in a representation rule as you have just seen above. 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 make this happen.

  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.

    Click the top-level tab to expand the global effects section of the rule.

  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. Note the default values provided for dash pattern symbology.

    The Dashes geometric effect is set from the Line input section.

  17. To change the values, type 3 1 in the Pattern text box. Be sure to include a space between the two numbers.

    To change the values, type “3 1” in the Pattern text box.

  18. Click OK to see the result.

    The 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 is included with the new symbol layer.

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

  4. Click the black square representation marker to open the Representation Marker Selector dialog box.
  5. Click the Swamp symbol from the Representation Marker Selector dialog box and click OK.

    The Representation Marker Selector dialog box with the Swamp symbol is shown.

  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. Instead, 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 placement label.

    Open the Marker Placements dialog box by clicking the arrow next to the placement label.

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

    Randomly inside polygon is selected from within the Polygon input in the Marker Placements dialog box.

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

    Click OK to close the Marker Placements dialog box.

  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 the pattern of random 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_two.mxd and exit ArcMap.

Congratulations, you’ve completed exercise 2.

Things 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


5/2/2011