Symmetrical Difference

Running programmatically

Calculates the geometric intersection of the input polygon feature classes. Creates a polygon feature class that contains the areas of both input datasets that do not overlap.

Inputs:

Outputs:

Examples:

Input Layers

Result

Running Programmatically

(Go to TOP)

Parameters

Expression Explanation
Function Name SymmetricalDifference
<input dataset> A String representing the input layer. Must be of Polygon type.
<merge dataset> A String representing the layer to be merged. Must be of Polygon type.
<output dataset> A String - the full name of the output layer.
{All Attributes} Optional. A Boolean indicating whether the attributes of the Merge layer to be transferred to the output.

Running the function

ETGWPath used in the table below is the full path to ETGWRun.exe (E.G. "C:\Program Files\ETSpatial Techniques\ETGeo Wizards\ETGWRun.exe")

Language Syntax
Python subprocess.call([ETGWPath, "SymmetricalDifference", "input dataset", "merge dataset", "output dataset", "All Attributes"])
.NET using ETGWRun.exe StartInfo.FileName = ETGWPath
StartInfo.Arguments = "SymmetricalDifference" "input dataset"  "merge dataset" "output dataset" "All Attributes"
.NET using ETGWOutX.dll SymmetricalDifference(input dataset, merge dataset, output dataset, All Attributes)
ArcPy arcpy.SymmetricalDifference(input dataset, merge dataset, "output dataset" , "All Attributes")

Notes:

(Go to TOP)