Symmetric Difference Features
Function Overview
The Symmetric Difference Features tool extracts the non-overlapping geometric parts of two feature layers. It performs a spatial exclusive OR operation (XOR). The output is the union of the two input features minus their intersection, making this tool useful for detecting spatial differences and changes.
Note: This tool supports symmetric difference only between features of the same geometry type.
Use Cases
Change Detection Analysis
- Compare difference areas between old and new planning maps.
- Identify changed land use areas.
Data Quality Control
- Find inconsistencies between two versions of a dataset.
- Detect areas missed during data updates.
Conflict Area Identification
- Find disputed administrative boundary sections.
- Identify ownership overlap and ownership gap areas.
Ecological Research
- Analyze vegetation coverage change areas across different periods.
- Compare impact areas caused by protected area boundary adjustments.
Parameters
Basic Settings (Required)
| Parameter | Description | Data type |
|---|---|---|
| Input vector file | First feature layer for the symmetric difference operation. | Point, line, polygon |
| Input vector file | Second feature layer for the symmetric difference operation. | Point, line, polygon |
| Output path | Storage path for the output result. | Folder path |
| Output file name | File name of the output vector file. | Text, without extension |
Advanced Settings (Optional)
| Parameter | Description |
|---|---|
| File format | Output file format. The default is GPKG VectorData (.gpv). PostGIS VectorData (.pgv), ESRI Shapefile (.shp), Keyhole Markup Language (KML) (.kml), GeoJSON (.geojson), AutoCAD DXF (.dxf), and other formats are also supported. |
| Output specified fields | When enabled, output fields can be configured manually. When disabled, the original field structure is retained. |
| Reproject | When enabled, the spatial reference of the output file can be set. Otherwise, the coordinate system of the input features is used. |
Notes
Coordinate System Consistency
- All input layers must use the same coordinate system. A projected coordinate system is recommended.
- If coordinate systems differ, use a projection tool to convert them to a common coordinate system first.
Geometry Validity Checks
- Use a geometry check tool to repair self-intersections, empty geometries, duplicate vertices, and similar issues to avoid failures or abnormal results.
Operating Steps
Step 1: Start The Tool
Open the Geoprocessing Toolbox, go to Analysis Tools > Overlay Analysis, and double-click Symmetric Difference Features to open the tool pane.
Step 2: Set Parameters
-
Basic parameter configuration
In Basic Settings, enter the features for the symmetric difference operation, output path, and output file name. All parameters are required.
-
Advanced parameter configuration
In Advanced Settings, configure optional parameters as needed, including output file format, specified output fields, and reprojection.
Step 3: Run And Monitor The Task
Click Run to start processing. You can view progress, run time, and completion status in the task list.
If the run fails, the tool provides an error message. Use the Edit button in the lower-right corner to return to the tool pane and adjust the parameters.