Line Node Cleanup
The Line Node Cleanup command (in Linework > Check) enables you to remove duplicate nodes from a linestring, correct vertical segments, and eliminate node elevations that fall outside a specified range. It can also apply a tube filter to line strings, reducing data density while preserving the overall shape.
- Click in the Linestrings field, then in a graphic view select the linestrings you want to clean up. Click Options for additional selection options.
- Check the required fields:
- Convert to horizontal linestring - If the linestring contains vertical tab data, you must convert it. You will be prompted if vertical tab data is found.
- Remove duplicate nodes - Enter the horizontal and vertical tolerance for the command to search the linestring and delete nodes. The horizontal tolerance is checked first, then the vertical distance.
- Nudge vertical nodes - Search the line for vertical segments that have a horizontal change less then the selected value. If it finds one, it moves the segment to give it a horizontal change of the entered value.
- Set nodes out of range to undefined elevation - Search the line for nodes outside of the specified elevation range. If a such as node is found, the elevation is set to "?".
- Tube Filter – Enter a value to create a tube radius. The filter starts at the first vertex (A) of the string and looks ahead to the third vertex (C). If the vertext between them (B) does not go outside the tube, it is removed.

The Maximum node spacing option defines the largest allowable gap after filtering. It does not guarantee that nodes will be spaced at that distance. The actual result is determined by the sweep-based removal pattern used by the vertex filter, and depends on the line geometry.
Understanding maximum node spacing results: The filter works in sweeps. Each sweep removes roughly every second node within the tube, then the sweep repeats until nothing more can be removed. On a straight run of evenly spaced nodes, the gap doubles with each sweep: 1m, 2m, 4m, and 8m.
For example, a straight line with nodes every 1m and a maximum node spacing of 5m results in nodes every 4m. The third sweep would open 8m gaps, which is over the limit, so it stops at 4m.
- Click Apply to apply the changes and keep the Line Node Cleanup command pane open.
Note: This command only works on Linestrings.