When performing operations such as intersection, union, XOR, and line connection on geometry, it is necessary to consider the attribute assignment of the newly generated objects. The application provides the Property Processing dialog box to facilitate users in setting the attributes of objects after operations. Here, the union operation will be taken as an example to explain the Property Processing dialog box.
Editing Layer
Editing Layer The drop-down list on the right side of the label lists the editable layers in the layer manager. When there are multiple editable layers, you need to select the layer on which the merge operation is performed, that is, which layer the objects will be merged onto. Objects in other layers remain unchanged.
List Box
The list box displays the names, types, and operation steps for each field value after merging for all non-system fields and editable system fields of the merged objects. To modify the operation step for a field, you can select the field in this list box and then reselect the operation step in the Actions column.
Parameter description
- Is Empty: Indicates that the value of this field in the union result object is empty.
- Sum: Indicates that the value of this field in the union result object is the sum of the corresponding field values of each merged object. For numeric fields, they are directly added and summed. For text fields, when summing, the text of multiple objects is automatically concatenated according to the SmID order.
- Weighted Mean: Indicates that the value of this field in the union result object (must be a numeric field) is the average of this field for all merged objects. It can calculate either a simple average or a weighted mean value. By default, the simple average is calculated.
Select the Average radio button, click the drop-down button on the right, and choose the No Weighted Field (Average) item, which means not using a weighted field, indicating the calculation of a simple average by adding the selected field values of all source objects and dividing by the number of source objects.
If in the drop-down menu to the right of the Average radio button, select a field, it indicates using that field to perform a weighted mean operation with the selected field in the list box.
- Save Geometry: Indicates that the value of this field in the operation result object is the same as that of the nth selected object. When switching the selected object, the selected keep objects will be highlighted on the map, allowing users to clearly identify the location of the selected objects in the map.
- Delete Source Object: This option is used to set whether to delete objects in non-current editing layers when merging objects across layers. By default, it is not checked. If checked, objects in non-current editing layers will be automatically deleted after merging; if not checked, objects in non-current editing layers will be retained.
- Customize Selected Areas to Merge: Used to customize draw bounds to select objects to merge. It provides four methods: draw rectangle, draw polygon, draw circle, and draw sector. Select one of these methods, draw a region on the map to select objects, and only objects within the draw bounds will be merged.