Creating data frame rules for multiple data frames
Data frame rules define a data frame's extent, size, scale, rotation, and coordinate system. In map documents with multiple data frames, you can specify that a data frame inherits another's settings. For example, one data frame could use the same scale and size as a source data frame. This allows you to enforce standardized settings from a basemap to make overview or inset maps.
The following steps outline how to apply data frame rules in such an environment.
- Start ArcMap.提示:
If the ArcMap - Getting Started dialog box appears, you can open a new or existing map document. You can also check the Do not show this dialog box in the future check box and click Open.
- Switch to layout view.
- Click the Add Data button on the Standard toolbar.
The Add Data dialog box appears.
- Navigate to <ArcGIS install folder>\ArcGIS\Desktop10.0\bin\TemplateData\Template.gdb.
- Add the States feature class from the USA feature dataset to ArcMap.
- Resize the data frame to half the page size.
- Zoom to California until it covers the entire data frame.
- On the main menu, click Insert > Data Frame.
A new data frame appears on the page layout.
- Drag the new data frame below the Layers data frame.
- Click the Add Data button on the Standard toolbar.
The Add Data dialog box displays.
- Navigate to <ArcGIS install folder>\ArcGIS\Desktop10.0\bin\TemplateData\Template.gdb.
- Add the Counties feature class from the USA feature dataset to ArcMap.
- On the main menu, click Customize > Toolbars > Production Cartography.
The Production Cartography toolbar appears.
- Click the Layout window button on the Production Cartography toolbar.
The Layout window appears.
- Click New Data Frame in the Layout window.
- Click the Apply Data Frame Rules button on the Layout window.
The Apply Data Frame Rules dialog box appears.
- Click the Source Data Frame drop–down arrow, then click Layers. 注意:
The new data frame inherits some properties from the source data frame.
- Click the Properties button .
The Data Frame Rules dialog box appears.
- Click the General tab.
- Click the Allow drop-down arrow, then click Scale.
- In the Extent area, check the Same as source data frame check box.
- In the Extent area, check the Clip to shape based on extent check box.
- Click the Rotation tab.
- Click the Rotate to True North option.
- Click the Coordinate Systems tab.
- Click the Type drop-down arrow, then click Calculate UTM Zone.
- Click OK.
The Apply Data Frame Rules dialog box appears.
- Click Apply on the Apply Data Frame Rules dialog box.
The data frame rules you defined are applied to the active data frame. The Status - Data Frame Rules dialog box displays the operation status.
- Click OK to close the Status - Data Frame Rules dialog box.
To save data frame rules to an XML file, click Save on the Apply Data Frame Rules dialog box.
To review changes to a data frame made by the application of data frame rules, right-click that data frame in the Layout window, then click Properties.