English

How To: White-out or hide features in Data Driven Pages, so that only the feature of interest is visible

Summary

Instructions provided describe the steps to white-out 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.

An example of when this workflow might be useful is in the event you would like each of the Hawaiian islands to 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 (TOC) twice.
    [O-Image]
  2. Of the two identical layers, name the top-most layer 'Mask'.
    [O-Image]
  3. On the View menu, select Layout View.
  4. 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.
  5. Select the 'Enable Data Driven Pages' option.
  6. From the Layer drop-down, choose the layer with the original layer name from the list (not Mask).
    [O-Image]
  7. Select the desired Name Field and note this for Step 9. Click OK.
    [O-Image]
    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.


    [O-Image]
  8. Open the Layer Properties for the Mask layer and click the Definition Query tab > Page Definition.

    Note:
    Page Definition Queries are only available when Data Driven Pages are enabled. If Data Driven Pages are not enabled, you will not see the Page Definition button on the Definition Query tab of the Layer Properties dialog box.

  9. Click the Enable check-box and set the Page Name field to the same field used to enable Data Driven Pages in Step 7.
    [O-Image]
    Note:
    By choosing the same Page Name field as the Name Field specified in the Data Driven Page Setup dialog, 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.

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

  11. Click the Mask symbol in the TOC to open the Symbol Selector.
  12. Change the Fill Color and the Outline Color to White and click OK.
  13. Browse through the Data Driven Pages. Only the feature of interest is visible and all other parts are not displayed.

    Note:
    If planning to utilize a background, basemap, or raster layer in the map, this workflow does not provide desired results.


    [O-Image]