Exercise 5: Customizing the map layout (Production Mapping)

複雑性: 初級 データ要件: ArcGIS.com 目的: Customize the map layout by adding a dynamic legend graphic table element, then save the dynamic legend in the element library. Set layout rules that define the position of one element in relation to other elements.

The map layout is where you add map surrounds, such as legends or text, and other finishing touches to a map. In this exercise, you will learn how to create a dynamic table surround element as well as how to manage elements with the element library manager and layout rules.

Exercise 5a: Creating a dynamic legend

The graphic table element is a surround element that allows you to create tables in the layout that can dynamically update based on the data in the map extent. In this exercise you will create a dynamic legend using the graphic table element.

手順:
  1. If necessary, start ArcMap and open the Austin East map.
  2. Click the Grid Layout View button Grid Layout View on the Production Cartography toolbar.

    The map document is switched from data view to layout view. In addition to switching the view, it ensures that the data frame's extent, projection, scale, and rotation values are correct for the map. This is done using the grids and graticules layer that was created and added to the table of contents earlier. The Grid Layout View tool can be used at any point to force the map document back to the specified values, ensuring the map is being displayed as it was designed to display.

  3. Click the Zoom In button 拡大 on the Layout toolbar.
  4. Draw a box to zoom in to in the lower-right corner of the map layout.
    Zoom In to lower-right corner of the map
  5. On the main menu, click Insert Graphic Table Element.

    The New Table dialog box appears.

    New Table dialog box
  6. In the Available formats list, click Item to Row.

    Using this format, each unique symbol in the legend will appear as a row in the table.

  7. Click Wizard.

    This starts a wizard that will guide you through the process of creating the graphic table element.

    Set Table Format dialog box
  8. Leave all the default values for the Set Table Format dialog box.
  9. Click Next.

    The Selecting table datasources dialog box appears.

    Selecting table datasources dialog box
  10. In the Select data sources from the list list, click BuildingP.

    The dynamic legend will include the buildings.

  11. Check the Always keep table dynamically synchronized with data frame check box.

    Enabling this property means that the table will dynamically update as you pan and zoom in the map.

  12. Click Next.

    The Defining table fields dialog box appears.

    Defining table fields dialog box
  13. In the Source Fields list, click Shape.
  14. Click the > button.

    The Shape field is added as a column in the table in the Table Fields list. The Shape field displays the symbol of the feature in each record.

  15. In the Source Properties list, click Feature_Symbol_Label.
  16. Click the > button.

    The symbol label is added as a column in the table to display the label of each symbol in the table.

  17. Click Next.

    The Defining filters dialog box appears.

  18. Click BuildingP in the Data Sources list.
  19. Click Filter.

    The Data Filters dialog box appears.

    Data Filters dialog box
  20. In the Items that are within the list, click Visible Extent.
  21. Click Add Filter and click Unique Filter.

    The Unique options dialog box appears.

    Unique options dialog box
  22. Click Add Table Fields.

    The Table Fields Selector dialog box appears.

    Table Fields Selector dialog box
  23. Click RuleID in the list.

    The RuleID field stores an identifier for each symbol that is used to represent the features in the layer. By creating a unique filter for the RuleID, only one record will appear in the table for each symbol regardless of how many features in the map have that symbol.

  24. Click OK.

    The Unique options dialog box appears.

  25. Click OK.

    The Data Filters dialog box appears.

  26. Click OK.

    The Defining filters dialog box appears.

  27. Click Finish.

    The table is created and added to the layout. The format of the table can be adjusted by editing the table properties.

    Table created and added to the layout
  28. Click the Select Elements button エレメント選択 on the Tools toolbar.
  29. Double-click the table.

    The Table Properties dialog box appears.

    Table Properties dialog box
  30. Click the Table Format tab.
  31. Click Table Design.

    The Item To Row Table Design dialog box appears. This dialog box allows you to customize the look of the table. In the next steps, you will remove the footer row from the table.

    Item To Row Table Design dialog box
  32. Click a cell in the footer row.
  33. Right-click on the row and click Delete Rows.
    Deleting a row

    The footer row is removed from the table. Next, you will modify the text that appears in the header for the FEATURE_SYMBOL_LABEL column.

  34. Click the FEATURE_SYMBOL_LABEL cell.

    The Elements section on the right side of the dialog box is populated with a new node called (h1,B).

  35. Expand the (h1,B) node.
  36. Right-click the TextElement node and click Properties.
    (h1,B) node

    The Properties dialog box appears.

  37. Type Building Type in the Text text box.
    Properties dialog box
  38. Click OK.

    The Item To Row Table Design dialog box appears.

  39. Click OK.

    The Table Properties dialog box appears.

  40. Click OK.

    The changes to the table are applied to the element in the layout. You can make additional changes through the table properties. The table properties also allow you to modify additional properties of the table, such as the appearance of the borders and cell colors, and the alignment of text within cells.

    Table element changes applied
  41. If necessary, adjust the placement of the table element so it appears below the Road Classification element.
    Table element adjusted to below the Road Classification element

    You can pan and zoom within the data frame to see the information in the table update.

Exercise 5b: Working with the element library

When producing multiple products, you may discover that certain types of elements are used in many maps. The element library is a database that can be used to store a collection of surround elements, such as logos, that you want to apply to multiple map documents. In this exercise, you will save the dynamic legend you created as well as apply a logo from the element library. While the element library can be stored in any database, for this tutorial, the product library is used as the element library as well.

手順:
  1. Click the Select Elements tool エレメント選択 on the Tools toolbar.
  2. Right-click the dynamic legend you created in Exercise 5a.
    Saving dynamic legend element
  3. Click Save Element.

    The Save Element dialog box appears.

    Save Element dialog box
  4. Click Browse.

    The Select Workspace dialog box appears.

  5. Navigate to the ProductLibrary.gdb geodatabase.

    The ProductLibrary.gdb is located in the directory where the tutorial data was copied.

  6. Click Select.

    The product library already contains an element. You will see that the Location to save area is populated with entries.

  7. Expand the Foundation node.
  8. Expand the Topographic Maps node.
  9. Expand the LOGO node.

    You will see that a logo—Texas FIFC Logo—already exists in the library. You will add the legend to the Topographic Maps category.

  10. Right-click the Topographic Maps node and click Add.

    A new node called 01_Category appears in the tree.

    New 01_Category node displayed
  11. Type Legends to rename the 01_Category node.
  12. Right-click the Legends node and click Add.

    A new node called 01_Element appears in the tree.

    New 01_Element node displayed
  13. Type Building Legend to rename the 01_Element node.
  14. Click the Building Legend node to ensure it is highlighted.
  15. Click Save.

    The legend in the map is saved to the Building Legend node. You will see a picture of what the table looks like in the Picture area.

    Preview of legend
  16. Click Close.
  17. In the previous steps, you learned to save an element to the element library. Next, you will learn how to add an element from the library into your map.
  18. Click the Pan tool 画面移動 on the Layout toolbar.
  19. Pan the layout to the lower-left side of the map.

    Lower-left side of map

  20. On the main menu, click Insert Database Element.

    The Database Element dialog box appears.

    Database Element dialog box
  21. Expand the Foundation node.
  22. Expand the Topographic Maps node.
  23. Expand the LOGO node.
  24. Click the Texas FIFC Logo node in the tree view.
  25. Click Insert.

    The logo is added to the map.

    Logo added to the map
  26. Click Close.

    The logo was added to the center of the layout extent. In the next exercise, you will place the element in another location using layout rules.

Exercise 5c: Setting layout rules

Layout rules can be used to define the position of one element in relation to other elements. In this exercise, you will ensure that the logo added in exercise 5b is correctly placed in the layout.

手順:
  1. On the main menu, click Customize Toolbars Production Cartography.
  2. Click the Layout Window button Layout window on the Production Cartography toolbar.

    The Layout window appears. You can use the Layout window to manage elements on the page. This window has a toolbar at the top, an element list, and element searching capabilities. The toolbar exposes Esri Production Mapping functionality such as the Measure Layout tool and Layout and Data Frame Rules. The element list displays all surround elements on the current page layout. Right-clicking an element in the list displays the Layout window context menu, which allows for effective management from one location for all the elements on your map.

    Layout window
  3. Click the Apply Layout Rules button Apply Layout Rules at the top of the Layout window.

    The Apply Layout Rules dialog box appears.

    Apply Layout Rules dialog box
  4. Click the Properties button Properties next to the Layout Rules text box.

    The Layout Rules dialog box appears.

  5. Right-click in the box and click Add Rule Vertical Rule.
    Layout Rules dialog box

    A new node called v_element_name is added to the list in the Placement Rules area.

  6. Type Logo_Vertical in the Name text box to name the element rule.
    Vertical rule properties entered
  7. Click the Align the drop-down arrow and choose Bottom.
  8. Click the of drop-down arrow and choose Texas FIFC Logo.
  9. Choose Above from the next drop-down menu.
  10. Click the the drop-down arrow and choose Top.
  11. Choose Projection Information from the second of drop-down menu.

    This is the text element that describes the map's projection information. Ideally, the elements on the page should each have unique names because it makes it easier to identify them and set up layout rules.

  12. Click the At a distance of drop-down arrow and choose 0.3 Inches.
  13. Right-click in the box and click Add Rule Horizontal Rule.
    Adding horizontal rule to element

    A new node called h_element_name is added to the list in the Placement Rules area.

  14. Type Logo_Horizontal in the Name text box to name the element rule.
  15. Click the Align the drop-down arrow and choose Left.
  16. Click the of drop-down arrow and choose Texas FIFC Logo.
  17. Choose Even with from the next drop-down menu.
  18. Click the the drop-down arrow and choose Left.
  19. Choose Projection Information from the second of drop-down menu.

    This is the text element that describes the map's projection information.

    Horizontal rules added
  20. Click OK.

    The Apply Layout Rules dialog box now displays <Custom> in the layout rules drop-down menu. You can save the rules you built using the Save button and the rules can then be applied to other map documents with the same elements.

  21. [適用] をクリックします。
  22. Click OK to close the Status-Layout Rules dialog box.
  23. Click Cancel to close the Layout Rules dialog box.

    The position of the logo in the map was moved and placed in the specified position in relation to the projection note. Whenever the layout rules are applied, the position of the logo will always be in relation to the projection note. To see this, you can move the location of the production note in the layout, then reapply the layout rules.

    Sample logo
  24. Click the Save button 保存 on the Standard toolbar to save the .mxd.

In this exercise, you have learned how to customize your map layout by adding a dynamic legend using the Graphic Table Element tool and saved the dynamic legend in the element library. You also learned how to add an element into your map and set layout rules to define the position of one element in relation to other elements. In Exercise 6: Publishing map products, you can learn how to complete the cartographic process by exporting the final map product using the Production PDF exporter.

4/26/2014