Filtering your features allows you to work with and focus on a subset of records. By limiting the visibility of features in a layer, you can reveal what's important to you. ArcGIS Earth supports querying features through expressions and applying spatial filters for 3D object and point scene layers by geometry.
Query
The following are supported data formats:
Create a query
A query uses one or more expressions to determine which features are shown on the map. Each expression includes a field name, an operator, and a value. As you set up the query, features that do not match the query criteria will be hidden on the map.
To create an expression for layer query, complete the following steps:
- Right-click a supported layer in the table of contents and click Query.
- In the Query panel, click Add expression to add your first query expression.
- Click the field selector, and choose a field to use for the expression.
- Click the operator selector and select an operator, such as is, is not, includes, excludes, or contains.
If you select a numeric or date field, a histogram of the data distribution will be displayed to help you choose the data intuitively. You can also set the data query range by dragging the maximum and minimum values into the histogram.
- In the value text box, enter or choose a
value to use in the expression.
The text box varies depending on the field type and the operator. For example, if you select the includes or excludes operator, you choose from a list of data values in the specified field. And for the blank operator, no value needs to be entered.
Note:
- If the data contains a configured original query, the expression will display in the panel. The original expression supports deletion and restoration and cannot be edited.
- Expressions will not be saved once ArcGIS Earth is closed.
If the query has more than one expression, you must choose a matching option to connect the expressions.
- Match all expressions—Only show the features that match all of the query expressions.
- Match at least one expression—Features will show on the map if one of the expressions is matched.
Apply a spatial filter
The spatial filter supports to exclude or include buildings, trees, 3D objects, and 3D points within a designated area by drawing a polygon or selecting individual features. The following are supported data formats:
To apply a spatial filter in a scene, complete the following steps:
- Right-click a supported layer in the table of contents and click Spatial Filter.
- In the Spatial Filter panel, choose to filter by polygon and by selection.
- In the By Polygon section, click Draw to start drawing a polygon in the scene. Optionally, draw more polygons to add to the spatial filter. Click Delete to remove the polygons from the spatial filter.
- For Mode, include or exclude the features in the polygon by doing one of the following:
- Click Exclude to exclude the features inside the polygon.
- Click Include to include only the features inside the polygon.
- In the By Selection section, click Select to select features. Click Apply to hide the selected features in the view.
- Optionally, click Clear All to reset the filters.