HOW TO

Hide features in Data Driven Pages so only the feature of interest is visible

Last Published: March 21, 2022

Summary

Instructions provided describe the steps to hide or mask all other features outside the extent of the feature of interest designated by the Data Driven Pages indexing layer.

Procedure

The following workflow is most useful when working with polygon features as the Data Driven Pages indexing layer. For example, when each of the Hawaiian islands must be displayed on their own data driven page without parts of the nearby islands showing.

  1. Add the Data Driven Pages indexing layer to the Table Of Contents twice.
The Data Driven Pages Indexing layer added to the Table Of Contents.
  1. Of the two identical layers, name the top-most layer Mask.
The Table Of Contets displaying the top-most layer, Mask.
  1. On the View menu, select Layout View.
  2. Turn on the Data Driven Pages toolbar if needed. On the Customize menu, click Toolbars > Data Driven Pages, and click the Data Driven Page Setup button.
  3. Select the Enable Data Driven Pages option under the Definition tab.
  4. From the Layer drop-down, select the layer with the original layer name from the list (not Mask).
Enable Data Driven Pages option and original layer name in the Setup Data Driven Pages wiindow.
  1. Select the desired Name Field, and note this for Step 9. Click OK.
The Index Layer section displaying the Name Field.
Note:
When browsing through the Hawaii map book, there are slivers of nearby islands displayed, which are not the feature of interest for each page. See the following screen capture, and note these slivers, circled in red.
The map in the data frame displaying slivers circled in red.
  1. Open the Layer Properties for the Mask layer, and click the Definition Query tab, then click Page Definition.
Note:
Page Definition Queries are only available when Data Driven Pages are enabled. If Data Driven Pages are not enabled, the Page Definition button on the Definition Query tab of the Layer Properties dialog box cannot be seen.
  1. Click the Enable check box, and set the Page Name field to the same field used to enable Data Driven Pages in Step 7.
The Page Definition Query window displaying the Page Name field.
Note:
By choosing the same Page Name field as the Name Field specified in the Data Driven Page Setup dialog box, the Mask features are now filtered by name for the current page. While browsing through the pages, the query changes, and a new set of features is drawn appropriate to the new page. By choosing 'Not Match' in the next step, all features in the Mask layer that do not match the name for the current page are displayed.
  1. Select Don't Match, click OK and Apply, and click OK again.
Note:
Currently, the page definition does not appear to have changed anything in the map, but the Mask symbology must still be changed.
  1. Click the Mask symbol in the Table of Contents to open the Symbol Selector.
  2. Change the Fill Color and the Outline Color to the same color as the layout background color. In this example, the Fill Color and the Outline Color is set to White, and click OK.
  3. Browse through the Data Driven Pages. Only the feature of interest is visible and all other parts are not displayed.
Note:
If planning to use a background, basemap, or raster layer in the map, this workflow does not provide desired results.
The map in the layout displaying only the feature of interest.

Article ID: 000011376

Software:
  • ArcMap 10 x

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options