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
After Split
Polyline Layer with Point Layer. Only the points within the search tolerance from the polylines are used.
Before Split
After Split
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" |
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") |
Notes:
<> - required parameter
{} - optional parameter
The argument separator for StartInfo.Arguments is space. If a string might contain a space, you need to double quote it.