Summary
Creates two feature classes showing matches as determined by the spatial and temporal relationship of the input primary and comparison feature class.
Usage
- The output feature classes will contain any features from the primary or comparison feature class that fall within the temporal and spatial search radius of one another. It is possible that a single feature from the Input Comparison Features will match with more than one of the Input Input Primary Features or vice versa, in this case the feature is copied as many times as necessary so unique feature relationships are preserved.
-
These new fields will be generated:
- matchid - The identifier value that defines the relationship of the output primary and comparison feature classes. This field can be used to relate the two output feature classes using a one to one relationship.
- matchtype -"B" for a space and time match, "S" for a space match only, "T" for a time match only.
Syntax
SpaceTimeComparison_crime (Input_Primary_Features, Input_Comparison_Features, Output_Matched_Primary_Features, Output_Matched_Comparison_Features, Search_Radius, Temporal_Search_Radius, Primary_Features_Start_Date_and_Time_Field, Comparison_Features_Start_Date_and_Time_Field, {Primary_Features_End_Date_and_Time_Field}, {Comparison_Features_End_Date_and_Time_Field}, {Add_Space_Only_Matches}, {Add_Time_Only_Matches})
Parameter | Explanation | Data Type |
Input Primary Features | Input feature class. Each feature will be compared to the comparison feature class based on the spatial and temporal search radius. | Feature Layer |
Input Comparison Features | Comparison feature class. Features in this feature class will be evaluated for its temporal and/or spatial relationship with the primary feature class. | Feature Layer |
Output Matched Primary Features | Output temporal and spatial results feature class containing features from the original input primary features that matched. | Feature Layer |
Output Matched Comparison Features | Output temporal and spatial results feature class containing features from the original input comparison features that matched. | Feature Layer |
Search Radius | Linear distance to search from each primary feature to comparison features. | Linear Unit |
Temporal Search Radius | Temporal radius to search from each primary feature to comparison features. | Time Unit |
Primary Features Start Date and Time Field | Input Primary features start date and time field. | Field |
Comparison Features Start Date and Time Field | Input Comparison Features start date and time field. | Field |
Primary Features End Date and Time Field (Optional) | Input Primary features end date and time field. If specified, the entire time range defined by the start and end date plus the temporal search radius will be used to search comparison features. The temporal search radius can be set to 0 to compare only the time defined by the feature's time range. | Field |
Comparison Features End Date and Time Field (Optional) | Input Comparison Features End date and time field. If specified, the entire time range defined by the start and end date plus the temporal search radius will be used to evaluate relationship with primary features. The temporal search radius can be set to 0 to compare only the time defined by the feature's time range. | Field |
Add Space Only Matches (Optional) | By default, features that match by both space and temporal constraints are added to the output feature classes. This option will add features to the output feature classes that match by space only. | Boolean |
Add Time Only Matches (Optional) | By default, features that match by both space and temporal constraints are added to the output feature classes. This option will add features to the output feature classes that match by time only. | Boolean |
Licensing information
- ArcGIS Desktop Basic: Yes
- ArcGIS Desktop Standard: Yes
- ArcGIS Desktop Advanced: Yes