Filtering Feature Layers
Concept Procedure

To filter feature layers

  1. Make sure that you are connected to the feature sources for the feature layers or groups to filter.

    For more information, see Bringing in GIS Features.

  2. In the Display Manager, select the layer, layers, or group to filter.

    Use Ctrl-click or Shift-click to select multiple layers.

  3. Right-click any layer or group in the selection and click Query To Filter Data.
    NoteOnce you use this command, the command name for the affected layers changes to Layer Filter, with options for Edit Layer Filter and Delete Layer Filter.
  4. To add more feature layers to the data being searched by the expression, click Add Layer and select the layer to add. To delete a layer, select it in the list and click Delete.

    The list of layers at the top of the window shows any existing filters for the selected layers. If the layers use a common query (specifying a property that all the layers have in common), that query is listed separately.

  5. If you are creating a location condition, click Zoom Extents to zoom the drawing window to the extents of the selected feature class.
  6. Create an expression for your filter. You can create the following types of expressions:
    • Property Evaluation expressions compare the value of a property to a value you specify. For example, you can find parcels with an area greater than a value you specify, or streets with a particular number of lanes.
    • Location Conditions find data based on its location in the map. For example, you can draw a circle to find all parcels within that circle.

    You can save your expression for reuse.

  7. To create a complex property evaluation, insert an AND or OR operator, and then insert another property, operator, and value combination.

    Every operator must be preceded by a property. For example, to find parcels whose last purchase date is after 1990 and before 2005, the expression must look like this:

    Purchase_Date > 1990 AND Purchase_Date < 2005

  8. Validate your expression.
  9. When the expression is complete and valid, click OK.

    When AutoCAD Map 3D has completed the search, it highlights both the selected rows in the Data Table and the associated features on your map.