For the complete documentation index, see llms.txt. This page is also available as Markdown.

Filter layers

Show only the features in a layer that match a condition, such as Status is Open. A filter hides features without changing the layer's data.

A layer filter shows the features that match a condition, such as "Status is Open", and hides the rest. It applies to the whole layer: on the map, in the table, and in spatial analysis. Filtering doesn't change or delete the layer's data, so you can edit or remove a filter at any time.

Everyone viewing the map sees the filtered result, and people viewing the map can't remove a layer's filters. To let them choose what to show, add a Filter component, which appears in the legend.

Add a filter

  1. Click Edit map in the toolbar at the top right of the map.

  2. Select the layer in the legend.

  3. In the detail panel, click the Filter tab.

  4. Click Add filter and select an attribute.

  5. Select a comparison, such as is or greater than, and enter or select a value. Features that don't match disappear from the map.

To match a list of values, select is, then select each value. Number attributes with fewer than 100 distinct values also offer a checklist when you select equals.

Combine several filters with and to match all of them, or with or to match any of them. To turn off or delete a filter, use its card in the Filter tab.

Adding a filter from the Filter tab and watching features that don't match disappear from the map.

Comparisons by attribute type

Attribute type
Comparisons

Text

is, is not, contains, doesn't contain, exists, doesn't exist

Number

equals, doesn't equal, greater than, less than, between, greater than or equal to, less than or equal to, exists, doesn't exist

Boolean

is true, is false

Date

is, before, after, between, exists, doesn't exist

Save the filtered features as a new layer

  1. In the Filter tab, click the feature count next to Add filter, such as 631 features.

  2. Click Update in new layer. Felt adds a layer containing only the matching features.

To split a layer by category, repeat this with a filter for each category.

Filter tab with one filter, and the feature count menu showing 631 of 1,930 features and Update in new layer.

Filter by location

Layer filters work on attributes, not location. To keep only the features inside an area, clip the layer with a polygon of that area. Clipping creates a new layer. To let people viewing the map draw an area and filter by it, add the Spatial filter extension.

To list only the features in the current map view, open the layer's ··· menu in the legend and click Open table, or press T. Then select Visible at the top of the table.

Last updated

Was this helpful?