Instructions for Use
Update the attributes of objects in the recordset based on spatial relationships.
The attribute update function provides two operation methods for selecting and updating target data. The first is to update the entire dataset; The second method is to update by filtering expressions.
be careful:
*When setting fields, it is required that the source and target field types must be the same. Different field types cannot be assigned.
*Different statistical methods need to correspond to different statistical fields. Direct assignment, maximum SMID, and minimum SMID are numerical or textual types, and do not support Boolean, memo, and date types. The average, sum, maximum, and minimum values are numerical fields.
Parameter Description
Parameter Name | Default Value | Parameter Definition | Parameter Type |
---|---|---|---|
Source Dataset | Dataset that provides attributes | DatasetVector | |
Target Dataset | Dataset to be updated | DatasetVector | |
Spatial Relationship | Inclusion | Spatial Relationship refers to the spatial relationship between the attribute geometric object and the target geometric object, which includes three types of relationships: inclusion, inclusion, and intersection. | SpatialRelationType |
SQL filter expression (Optional) |
SQL filter expression, sets field filter conditions, filters out objects in the target dataset that meet the expression conditions when updating attributes, and does not update field information in the source dataset to these object attributes | String | |
Fields that provide attributes | Set of fields in the dataset that provide attributes for updating | String | |
The target field being updated | The set of updated fields corresponds one-to-one to the 'field providing attributes' | String | |
Value taking method | Direct assignment | Value taking method for attribute fields. If there are multiple objects that meet the conditions and can provide attribute data, the attribute object is provided and processed in a certain value taking method before being assigned to the target object | AttributeStatisticsType |
The face boundary is within the face (Optional) |
false | used to determine whether spatial relationships attribute the boundaries of the face object to within the face. When the point is on the surface boundary, define whether it is contained by the bread; When only the endpoint of a line intersects a face, define whether it intersects with the face. When true, the surface boundary is in the plane, and when false, the surface boundary is out of the plane. This parameter only takes effect when determining the inclusion relationship between faces and points, or when determining the intersection relationship between faces and lines | Boolean |
Statistical field (Optional) |
Select a field to store the number of updated sub objects. Unupdated sub objects are assigned a value of 0, and updated sub objects are counted in the order of 1,2,3 | String |
Note: For further instructions, please refer to https://help.supermap.com/iDesktopX/1101/zh/tutorial/DataProcessing/Vector/Attributeupdate
Output Results
Parameter Name | Parameter Definition | Parameter Type |
---|---|---|
Result Vector Dataset | Result Vector Dataset | DatasetVector |