Spatial filtering

Spatial filtering enables you to remove areas of 3D object scene layers and building scene layers in your ArcGIS Map based on the polygon areas you specify. There are two different modes for removing areas of the scene layer: removing content inside of the specified polygon (referred to as disjoint) or removing content outside of the specified polygons (referred to as contains). For one spatial filter, you can specify multiple polygons by adding them to an ArcGISPolygonCollection.

The ArcGISSpatialFeatureFilter identifies 3D objects inside or outside of the provided polygons to remove them from the ArcGIS Map. Any 3D objects that are on the polygon geometry outlines will be removed in both filter types.

Once the 3D objects are removed by the spatial filter, data associated with the removed 3D objects are not accessible from Unreal Engine.

IllustrationModificationDescription
disjoint disjoint - removes selected areaRemove portions of the scene layer. Use a polygon and don't draw the parts inside that polygon. For example, to add another layer that shows a new development for that part of the city.
contains contains - displays only selected areaDefine an area of interest. Use a polygon and draw only parts of the scene layer inside that polygon. For example, to show only a portion of a scene layer within the boundaries of a city.

Polygons used to specify the area for spatial filtering; must have a spatial reference that matches the spatial reference of the layer. See When you need to know about spatial references topics to find the spatial reference of your layers.

Apply spatial filter to layers

You can set one spatial filter type per 3D object scene layer or building scene layer from the Layers content.

Apply spatial filter to a layer
  1. Click the Layers tab.
  2. Click the triangle icon on the left to expand the 3D object scene layer or the building scene layer registry and see the layer properties.
  3. On the Spatial Feature Filter raw, click the gear icon to display the tool overlay in the Viewport.
  4. In the tool overlay, click the draw polygon icon.
  5. Click in the Viewport to draw a polygon.
  6. Click the edit polygons icon.
  7. Select the polygon by clicking the polygon lines or anywhere inside the polygon. (The line color will change to blue.)
  8. Click the button Disjoint or Contains to select the filter you want to apply.
Edit a spatial filter

To edit a spatial filter, open the tool overlay for the layer that has the filter.

  • Display polygons for the elevation surface or an integrated mesh scene layer by opening the tool overlay.
  • Select a polygon by clicking the polygon lines or inside of the polygon while the edit polygons icon is selected in the tool. (The line color will change to blue.)
  • Deselect a polygon by clicking outside of the polygon in the Viewport.
  • Use the gizmo to move a polygon while the polygon is selected.
  • Click a point and drag to move the point position of the polygon.
  • Add points to a polygon by clicking the middle point of a line.
  • Copy a polygon by clicking the copy polygon icon while it is selected.
  • Paste a polygon by clicking the paste polygon icon after opening the tool overlay for the elevation surface or an integrated mesh scene layer.
  • Delete a polygon by clicking the delete polygon icon while it is selected.
  • Change the filter type by clicking another button while the polygon is selected.
  • Uncheck the Spatial Feature Filter checkbox to disable the filter for the layer.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.