Densifies (adds vertices to polyline at a user-specified tolerance) the features of a polyline layer.
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. |
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:
<> - 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.