Filtering the data source by location

A Location Filter allows you to define expressions that filter features based on a location layer and filter method. Filter methods specify a spatial relationship.

Steps:
  1. Start ArcMap.
  2. Load a map document that contains a graphic table element.
  3. Verify that you are in layout view if necessary.
  4. Right-click the graphic table element and click Properties.

    The Table Properties dialog box appears.

  5. If necessary, click the Data Source tab.

    The Data Source tab appears.

    Data Source tab
  6. Click the data source you want to use in the Data Source list on the Data Source tab.

    The chosen data source is highlighted, and the Filters button becomes available.

  7. Click Filters.

    The Data Filters dialog box appears.

    Data Filters dialog box
  8. Click Add Filter on the Data Filters dialog box and click Location Filter.
    TipTip:

    You can also right-click in the Filter area and click Add Combine Filter > Location Filter.

    The Filter By Location dialog box appears.

    Filter By Location dialog box
  9. Click the Location Layer drop-down arrow and choose the layer you want to use.
  10. Click the Filter method drop-down arrow and choose from the following filter methods:
    • Intersect—Uses features within and intersecting the data frame of the selected location layer currently displayed
    • Within a distance—Uses only features within a specified distance
    • Completely contains—Uses features completely contained by the data frame of the selected location layer currently displayed
    • Completely within—Uses features completely within the data frame of the selected location layer currently displayed
    • Have center in—Uses features that have their centers within the data frame of the selected location layer currently displayed
    • Share line segment—Uses features that share a line segment
    • Touch boundary—Uses features with boundaries that touch each other
    • Identical—Uses features with identical properties
    • Crossed by the outline—Uses features crossed by an outline
    • Contains—Uses features contained by the data frame of the selected location layer currently displayed
    • Contained by—Uses features contained by the data frame of the selected location layer currently displayed
  11. Check the Use selected features check box if you want to use the selected features for filtering, based on their relationship to the location layer.
  12. Check the Apply buffer check box if you want to apply a buffer.
    1. Type the distance you want to use in the text box.
    2. Click the drop-down arrow to choose the units you want to use.
  13. Click OK.

    The Data Filters dialog box appears with the filter table populated with the filtering options you have defined.

    The Data Filters dialog box
  14. If necessary, click the drop-down for Operator and change the operator type.
    TipTip:

    These filters can be logically appended to the base selections using the And, Or, greater than (>), or less than (<) operators (but not the equal to [=] or exclusive or [XOR] operators).

  15. Repeat the steps to add more filters by location.
  16. To further refine data source filtering, you can copy, delete, and sort rows; copy cells; or modify properties.
    1. To copy a cell, right-click an operator or filter type cell and click Copy Cell.
    2. To copy a row, right-click an operator or filter type row and click Copy Selected Row.
    3. To delete a row, right-click a row and click Delete.
    4. To sort a row, right-click a row and click Move Up or Move Down.
    5. To modify or redefine the filter configurations you defined previously, right-click a row and click Properties.
    Filter shortcut menu
  17. Click OK on the Data Filters dialog box.

    The Table Properties dialog box appears.

  18. Click OK.

7/31/2012