Spatial filtering enables you to remove areas of 3D object scene layers and building scene layers in your ArcGIS Map by based on the polygons 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
ArcGISSpatial 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.
|disjoint - removes selected area||Remove portions of the scene layer. Use a polygon and don't draw the parts inside that polygon. For example to add another layer which shows a new development for that part of the city.|
|contains - displays only selected area||Define 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 to specify the area for mesh modification, a polygon should have a spatial reference associated with it that matches the spatial reference of the ArcGIS Map. See the global or local and When you need to know about spatial references topics to understand the spatial reference of the ArcGIS Map.
Create polygons with
ArcGISPolygon with a specific spatial reference for your ArcGIS Map and add them to
ArcGISPolygon. To prepare the polygons for the spatial filter, create geometry with the
Spatial filter requires polygons and the filter type to be specified. Define your spatial filter with
ArcGISSpatial and provide polygon geometries and the type,
- To create a polygon, use Create ArcGIS Polygon Builder from Spatial Reference node and set the spatial reference with Create ArcGIS Spatial Reference according to your ArcGIS Map's spatial reference. Create a geometry with the To Geometry function of the ArcGIS Geometry Builder.
- Register all polygons to the ArcGIS Polygon Collection for the type of the filter you want to apply to layers with the Add node.
- To configure a filter, use the Create ArcGIS Spatial Feature Filter node, provide an ArcGIS Polygon Collection, and set the Spatial Relationship filter type,
- To apply spatial filter, use the Set Feature Filter node for ArcGIS 3D Object Scene Layer or ArcGIS Building Scene Layer accordingly and provide the ArcGIS Spatial Feature Filter that you want to apply.