Support Files : Filters : Geometry Examples : Geometry Shares Spatial
 

Geometry Shares Spatial

<GeometrySharesSpatial/> is true if the feature shares at least one spatial object with another feature. The operator inspects all representations that are sharing the spatial to see if the representation is used by the other object being processed.

This is the only test with additional optional parameters:

AllSpatials: Checks if all of the spatials (AllSpatials=True) must be shared. If this parameter is not used, then the test checks that at least one spatial is shared by another feature.

SameDirection: Indicates if the edge is being used in the same direction as the feature being tested. If not, then the direction of the shared edge is not taken into account, i.e., the direction is irrelevant.

SpatialNotSharedWith: Can be used inside the <GeometrySharesSpatial/> parameter and it must include a filter to test whether the spatial object is not shared with a feature that passes the selected filter.

The <GeometrySharesSpatial/> test is the only geometry test to support multiple filters. All filters must pass in order for the spatial test to pass.