Split Polyline Layer

Running programmatically

Splits a polyline layer with the features of a Point, Polyline or Polygon layer.





Polyline Layer with Polyline Layer.

Attributes updated with Range Address split rule

Before Split

before_split.jpg (13339 bytes)

After Split

after_split.jpg (15066 bytes)

Polyline Layer with Point Layer. Only the points within the search tolerance from the polylines are used.

Before Split

before_split1.jpg (13856 bytes)

After Split

after_split1.jpg (14577 bytes)

Running Programmatically

(Go to TOP)


Expression Explanation
Function Name SplitPolylinesWithLayer
<input dataset> A String representing the input layer. Must be of Polyline Type.
<Reference Dataset> A String representing the reference layer.
<output dataset> A String - the full name of the output layer.
{Search Tolerance} A Double representing the Cut-Off Distance to be used. The units of the tolerance are the units of spatial reference. Used only if the Reference Layer is of Point type.
{Update Rules} A String representing a list (separator ";") of fields and update rule for each field. Example: "Field1 AddressRange Field2; Field3 Copy; Field4 Proportion"

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, "SplitPolylinesWithLayer", "input dataset", "Reference Dataset", "output dataset", " Search Tolerance", "Update Rules"])
.NET using ETGWRun.exe StartInfo.FileName = ETGWPath
StartInfo.Arguments = "SplitPolylinesWithLayer" "input dataset" "Reference Dataset" "output dataset" "Search Tolerance" "Update Rules"
.NET using ETGWOutX.dll SplitPolylinesWithLayer(input dataset,Reference Dataset, output dataset, Search Tolerance, Update Rules)
ArcPy arcpy.SplitPolylinesWithLayer(input dataset, Reference Dataset, output dataset, "Search Tolerance" , "Update Rules")


(Go to TOP)