Clip

Running programmatically

Erases a feature layer with the features of a polygon layer

Inputs:

Outputs:

Examples:

Input Layers

Input Layers

Result

After Erase

Running Programmatically

(Go to TOP)

Parameters

Expression Explanation
Function Name EraseSingle
<input dataset> A String representing the input layer.
<Erase 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.

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, "EraseSingle", "input dataset", "Erase Dataset", "output dataset"])
.NET using ETGWRun.exe StartInfo.FileName = ETGWPath
StartInfo.Arguments = "EraseSingle" "input dataset"  "Erase Dataset" "output dataset"
.NET using ETGWOutX.dll EraseSingle(input dataset, Erase Dataset, output dataset)
ArcPy arcpy.EraseSingle(input dataset, Erase Dataset, "output dataset")

Notes:

(Go to TOP)