Exercise 2: Creating grids and graticules layers (Production Mapping)

复杂程度: 初级 数据要求: ArcGIS.com 目标: Generate grids and graticules layers using the Make Grids and Graticules Layer geoprocessing tool, modify the grid XML file, and update the grids and graticules layers using the modifications to the XML file.

Map production may require extending a standard GIS database with cartographic data in the form of additional attributes and features. GIS models the real world as a series of features with attributes. Cartography visualizes real-world features in a simplified presentation. Map production in ArcGIS for Desktop uses additional cartographic data to help automate and improve the map production process.

Cartographic features can include grids and graticules layers and new or generalized data displayed in the map. The Grids and Graticules tools are used to produce grids that contain geographic location indicators based on user-specified shapes, scales, coordinate systems, and units. For this exercise, you will modify an existing grid XML file and create new grids and graticules layers.

A number of standard grid templates are included in ArcGIS for Desktop. In this exercise, you will work with the Quad_24K_NAD83.xml file, generating the grid features for the Austin East map document and modifying how the grid is displayed.

Exercise 2a: Generating grids and graticules layers

For this exercise you will use the Make Grids and Graticules Layer geoprocessing tool to generate the layers as well as the Grids and Graticules Designer window to modify the grids components.

步骤:
  1. If necessary, start ArcMap and open the Austin East map.
  2. In the Product Library window, check the check box next to the Austin East product.
  3. Right-click the Austin East product and click Zoom To.

    The data frame zooms to match the AOI in the product library.

  4. Right-click the Austin East product and click Select.

    The Austin East AOI feature is selected in the map.

  5. To ensure that the map is in data view, on the main menu, click View > Data View.
  6. If necessary, click the ArcToolbox button ArcToolbox on the Standard toolbar.
  7. Expand the Cartography Tools toolbox.
  8. Expand the Grids and Graticules toolset.
  9. Double-click the Make Grids and Graticules Layer tool.

    The Make Grids and Graticules Layer dialog box appears.

    Make Grids and Graticules Layer dialog box
  10. Click the Open button Open next to the Grid Template (XML file) text box.

    The Open dialog box appears.

  11. Navigate to the GridTemplates directory in the ArcGIS for Desktop installation location.

    The default path is C:\Program Files\ArcGIS\Desktop10.2\GridTemplates.

  12. Select the Quad_24K_NAD83.xml file.
  13. 单击打开
  14. Click the Feature Layer drop-down arrow and choose Topographic Maps::Texas::Travis County::Austin East.
  15. Click the Open button Open next to the Input Feature Dataset text box.

    The Input Feature Dataset dialog box appears.

  16. Select the Grids feature dataset in the Austin.gdb geodatabase.

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

  17. 单击添加
  18. Leave the remaining default parameters and click OK.

    A grid is generated over the extent of the selected Austin East feature and added to the map.

  19. If necessary, click Close on the Make Grids and Graticules Layer dialog box.
  20. Click the Close button 关闭 in the upper-right corner of the ArcToolbox window.

    The grid layers are generated over the extent of the selected feature. The grids and graticules layers are added to the table of contents in a group called Quad_24K_NAD83.

  21. On the main menu, click Customize > Toolbars > Production Cartography.
  22. Click the Grids and Graticules Designer window button Grids and Graticules Designer window on the Production Cartography toolbar.

    The Grids and Graticules Designer window appears.

    Grids and Graticules Designer window
  23. Right-click in the Grids and Graticules Designer window and click Refresh.

    The structure of the grid is added to the Grids and Graticules Designer window.

    Grids and Graticules Designer window with grid structure displayed
  24. Click the Zoom In tool 放大 on the Tools toolbar.
  25. Draw a box to zoom in to the lower-right corner of the Austin East feature.
    Lower-right corner of the Austin East area of interest with the grids and graticules layer

    Notice that some of the ticks are displayed in blue.

Exercise 2b: Modifying a grid XML

You can modify the format and structure that grids and graticules layers will have using the Grids and Graticules Designer window. The Grids and Graticules Designer window allows you to add, remove, and modify components in the grid, such as the format of annotation or the spacing of grid lines. Normally, the grid template XML should be configured for the cartographic specifications that the product will use. This configuration is typically done by a project or technical lead team member who will share this grid definition with the rest of the team. In this exercise, you will perform the role of the technical lead who makes modifications to the existing grid definition. The definition of grids and graticules layers are stored in a grid XML file.

The tree view in the Grids and Graticules Designer window shows all of the components of your grid. The graphic that appears next to the node in the tree indicates the component type for that item.

Grids and Graticules Designer window with node graphics

步骤:
  1. If necessary, expand the UTM, State Plane, Geographic neat line node.
  2. Expand the Segments segment node.
    Segments node expanded
  3. Double-click the UTM ticks node.

    The Tick Properties window appears. This window is used to customize the properties of the grid.

    Tick Properties dialog box
  4. Type 500 in the Interval text box.

    This property changes how often the ticks are displayed. Now, instead of displaying ticks every 1,000 meters, the ticks will be displayed twice as often, every 500 meters.

  5. Click the Feature Settings and Symbol tab.
    Feature Settings and Symbol tab
  6. Click Symbol at the bottom of the Feature Settings and Symbol tab.

    The Representation Rule Selector dialog box appears. This dialog box allows you to modify the symbol that will be used to display this tick component.

    Representation Rule Selector dialog box
  7. Click Properties.

    The Representation Rule dialog box appears.

  8. Click the blue cell next to the Color property.

    A color pallette appears.

    Representation Rule dialog box with color pallette displayed
  9. Select a red color from the color pallette.
  10. 单击确定
  11. Click OK.

    The red symbol is now set for this tick and will be applied the next time you generate the grid.

  12. Click the Close button 关闭 to close the Tick Properties window.

Exercise 2c: Updating grids and graticules layers

Now that you have modified the grid XML, you can create the grids and graticule layers. You will also test the new grid design to ensure it has the correct values and settings before you share the XML with other users.

步骤:
  1. Ensure that the Austin East feature you selected in Exercise 2a is selected.
  2. Click the Set Feature Dataset button Set Feature Dataset at the top of the Grids and Graticules Designer window.

    The Dataset Location for Grid dialog box appears.

  3. Select the Grids feature dataset in the Austin.gdb geodatabase.

    The Austin.gdb geodatabase is located in the directory where the data was copied.

  4. Click OK.

    The Grids and Graticules Designer window appears.

  5. Click OK to overwrite the grid in this feature dataset.
  6. Click the Create button Create at the top of the Grids and Graticules Designer window.

    A warning message appears indicating that the grid will be updated.

  7. Click OK.

    The grid layers are generated over the extent of the selected feature. The grids and graticules layers are added to the table of contents in a group called Grids_Quad_24K_NAD83_Quad_24K_NAD83.

  8. If necessary, zoom in to the lower-right corner of the Austin East feature.
    Tick marks changed to red

    Notice that the ticks are now displayed in red and new ticks appear. The grid has the correct look and can now be saved and shared with other users.

  9. Click the Save as button at the top of the Grids and Graticules Designer window.

    The Save As dialog box appears.

  10. Navigate to the directory where the data has been copied.
  11. In the File name text box, type New_QUAD_24K.
  12. Click Save.
  13. In the Table Of Contents window, right-click the Quad_24K_NAD83 layer and click Remove.

    This removes the original grid that was created with the geoprocessing tool, as a new layer was also created and added to the table of contents (Grids_Quad_24K_NAD83_Quad_24K_NAD83) with the Grids and Graticules Designer.

  14. Now that a new copy of the grid XML is saved, it can be used by others to generate grids with the same format.
    In this exercise, you changed the color used to display one of the grid components. Through the Grids and Graticules Designer window, you can make other changes such as adding or removing components or changing the font used to display annotation.
  15. Click the Close button 关闭 in the upper-right corner of the Grids and Graticules Designer window.
  16. In the Product Library window, right-click Austin East and click Zoom to.

    The map display is zoomed to the extent of the Austin East map.

    Map display zoomed to Austin East map
  17. Click the Austin East product to turn off the display of the Austin East feature.
  18. Save your changes to the map document.

In this exercise, you began to customize the map by creating a grid using the Make Grids and Graticules Layer geoprocessing tool. You have also learned how to modify the format and structure of the grids and graticules layer using the Grids and Graticules Designer to add, remove, and modify components of the grid. In Exercise 3: Working with visual specifications, you can learn how to apply representations configured using visual specifications as well as customize visual specification rules.

4/27/2014