Skip to main content

Smooth 3D Lines

Description

Smooth 3D line (stream) on Z - to make sure the Z value of a downstream vertex is equal to or less than its upstream vertex. Apply Smooth Operation option controls whether the downstream vertex can be equal to the upstream or must be less than it. Tool can operate on individual lines or on the whole system ensuring overall monotonicity of the system.
2022/08/01

Usage

Parameters

Parameter NameTypeDirectionData TypeDialog Reference
Input 3D LinesRequiredInputFeature LayerInput 3D line features.
Ouput 3D LinesRequiredOutputFeature LayerOutput 3D line features (smoothed).
Apply Smooth OperationRequiredInputStringTwo types of smoothing are supported:

  • Smoothing with interpolation (default). This option ensures that the Z value of a downstream vertex is always smaller than the Z value of the upstream vertex (absolute monotonicity). The algorithm will find the next downstream vertex with smaller Z value from the current vertex and linearly interpolate Z values between them. If the last vertex in a line is higher than previous vertex, it will be dropped by a small amount from the previous lowest Z value and then interpolate from it. This will impact the elevation at the confluence with other lines.

  • Smoothing without interpolation. This option allows downstream vertex to have the same (or lower) elevation as the upstream one. If downstream vertex has a higher Z than the upstream one, it will assume Z value of the upstream vertex (introducing a flat segment).
  • Apply System SmoothingRequiredInputBooleanWhen checked, this option applies monotonicity across the whole system, starting with most upstream reaches and working its way downstream (based on digitized direction of the lines). The elevations from upstream reaches will be propagated to the downstream reaches at the confluences. If this option is not checked, smoothing is performed for each line individually.
    Ensure Same Z at ConfluencesOptionalInputBooleanWhen checked, this option enforces same elevation at the confluences. A minimum Z value of all potential Z values from all lines at a confluence (junction) will be selected and propagated upstream and downstream. The upstream propagation is applied to next immediate vertex to the confluence. This option is applied ONLY if "Apply System Smoothing" is checked. If this option is not checked, lines can have vertical discontinuity at a confluence.
    Delta_Z_Max_FieldOptionalInputFieldField holds Max Z drop values. The Max Z drop value is introduced to handle the error caused by a drainage line hit a missing data cell or wrong data due to drainage line deviated from the thalweg.