Clip

Running programmatically

Clips a feature layer with the features of a polygon layer

Inputs:

Outputs:

Examples:

Input Layers

Input Layers

Result

Result of the Clip function

Running Programmatically

(Go to TOP)

Parameters

Expression Explanation
Function Name ClipSingle
<input dataset> A String representing the input layer.
<Clip 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, "ClipSingle", "input dataset", "Clip Dataset", "output dataset"])
.NET using ETGWRun.exe StartInfo.FileName = ETGWPath
StartInfo.Arguments = "ClipSingle" "input dataset"  "Clip Dataset" "output dataset"
.NET using ETGWOutX.dll ClipSingle(input dataset, Clip Dataset, output dataset)
ArcPy arcpy.ClipSingle(input dataset, Clip Dataset, "output dataset")

Notes:

(Go to TOP)