Clean Pseudo Nodes

Running programmatically

Combines polylines, which share a pseudo node, based on user specified attributes. The resulting polyline data set does not contain multi-part polylines. The topology of the data set is preserved. The attribute update rules include range values update

Inputs

Outputs:

Notes:

Example:

Input Layer. Dissolve field = "Streetname"

pseudo_before.jpg (11516 bytes)legend1.jpg (2552 bytes)

Attribute Table

pseudo_tab_before.jpg (20447 bytes)

After Clean Pseudo Nodes. Update rules

"L_F_ADD" - Address Range - Paired field - "L_T_ADD"

"R_F_ADD - Address Range - Paired field "R_T_ADD"

pseudo_after_etgw.jpg (11794 bytes)

pseudo_tab_after_etgw.jpg (15124 bytes)

Running Programmatically

(Go to TOP)

Parameters

Expression Explanation
Function Name CleanPseudoNodes
<input dataset> A String representing the input layer. Must be of Polyline type.
<output dataset> A String - the full name of the output layer.
{Dissolve Fields} A String representing a list (separated with ";") with the field names to be used for dissolving.
{Update Rules} A String representing a list (separated with ";") with the field names and update rules. Valid rules are: "FIRST", "LAST", "MIN", "MAXLENGTH", "MAX", "SUM", "RANGECONTINUOUS", "RANGEADDRESS" depending on the field type. Example: "Field1 RangeAddress Field2;Field3 First;Field3 MaxLength"

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

Notes:

(Go to TOP)