Densify Polylines

Running programmatically

Densifies (adds vertices to polyline at a user-specified tolerance) the features of a polyline layer.

Inputs:

Outputs:

Running Programmatically

(Go to TOP)

Parameters

Expression Explanation
Function Name DensifyPolylines
<input dataset> A String representing the input layer. Must be of Polyline type.
<output dataset> A String - the full name of the output layer.
<Densify Tolerance> A Double representing the distance (in the units of the spatial reference of the input dataset) at which new vertices will be introduced.

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, "DensifyPolylines", "input dataset", "output dataset", "Densify Tolerance"])
.NET using ETGWRun.exe StartInfo.FileName = ETGWPath
StartInfo.Arguments = "DensifyPolylines" "input dataset" "output dataset" "Densify Tolerance"
.NET using ETGWOutX.dll DensifyPolylines(input dataset, output dataset, Densify Tolerance)
ArcPy arcpy.DensifyPolylines(input dataset, output dataset, "Densify Tolerance")

Notes:

(Go to TOP)