Intersect Polygons

Running programmatically

Produces a new layer which is the geometric intersection of the two input polygon layers.

Inputs:

Outputs:

Notes:

The function works only for polygon with polygon intersections.

For intersection of layers with different geometries use

Examples:

Input Layers

Input Layers

Result

Result from Intersect Polygons

Result overlayed with the inputs

Result from Intersect Polygons overlayed with the original polygons

Running Programmatically

(Go to TOP)

Parameters

Expression Explanation
Function Name IntersectPolygons
<input dataset> A String representing the input layer. Must be of Polygon type.
<Intersect Dataset> A String representing the layer to be used for intersect. 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, "IntersectPolygons", "input dataset", "Intersect Dataset", "output dataset"])
.NET using ETGWRun.exe StartInfo.FileName = ETGWPath
StartInfo.Arguments = "IntersectPolygons" "input dataset"  "Intersect Dataset" "output dataset"
.NET using ETGWOutX.dll IntersectPolygons(input dataset, Intersect Dataset, output dataset)
ArcPy arcpy.IntersectPolygons(input dataset, Intersect Dataset, "output dataset")

Notes:

(Go to TOP)