Merge Layers

Running programmatically

Merges two layers with the same geometry type into a single output layer.

Inputs:

Outputs:

Running Programmatically

(Go to TOP)

Parameters

Expression Explanation
Function Name MergeLayers
<input dataset> A String representing the input layer.
<merge dataset> A String representing the layer to be merged. Must be of the same geometry type as the input layer.
<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, "MergeLayers", "input dataset", "merge dataset", "output dataset", "All Attributes"])
.NET using ETGWRun.exe StartInfo.FileName = ETGWPath
StartInfo.Arguments = "MergeLayers" "input dataset"  "merge dataset" "output dataset" "All Attributes"
.NET using ETGWOutX.dll MergeLayers(input dataset, merge dataset, output dataset, All Attributes)
ArcPy arcpy.MergeLayers(input dataset, merge dataset, "output dataset" , "All Attributes")

Notes:

(Go to TOP)