If Spatial Relationship Is (Model Tools)
Summary
Evaluates whether the inputs have a specified spatial relationship.
Usage
This tool is only available from ModelBuilder for use in models. The tool is not available from the Geoprocessing pane or from Python.
The tool has two Boolean outputs, True and False. Based on the condition being evaluated, one of the two Boolean outputs is true and the other is false after the tool runs. These Boolean outputs must be set as a precondition to the downstream tools for those to run if either of the preconditions is true.
Parameters
| Label | Explanation | Data type |
|---|---|---|
|
Input Features |
The input features to evaluate. |
Feature Layer |
|
Relationship (Optional) |
Specifies the spatial relationship to be evaluated.
|
String |
|
Selecting Features (Optional) |
The features in the Input Features parameter will be selected based on their relationship to the features from this layer or feature class. |
Feature Layer |
|
Search Distance (Optional) |
The distance that will be searched. This parameter is only valid if the Relationship parameter is set to Intersect, Intersect 3D, Within a distance, Within a distance 3D, Within a distance geodesic, Contains, or Have their center in. If the Within a distance geodesic option is specified, use a linear unit such as kilometers or miles. |
Linear Unit |
|
Invert Spatial Relationship (Optional) |
Specifies whether the spatial relationship evaluation result or the opposite result will be used. For example, this parameter can be used to get a list of features that do not intersect or are not within a given distance of features in another dataset.
|
Boolean |
|
Selection Condition (Optional) |
Specifies the selection condition that will be used for the spatial relationship between the input and selecting features.
|
String |
|
Count (Optional) |
The integer count value. |
Long |
|
Minimum Count (Optional) |
The minimum integer count value. |
Long |
|
Maximum Count (Optional) |
The maximum integer count value. |
Long |
Derived output
| Label | Explanation | Data type |
|---|---|---|
|
True |
If the specified criteria evaluates to True, this parameter will be set to True. |
Boolean |
|
False |
If the specified criteria evaluates to False, this parameter will be set to True. |
Boolean |
Environments
This tool does not use any geoprocessing environments.
Licensing information
- Basic: Yes
- Standard: Yes
- Advanced: Yes