Applies a bounded Gaussian-kernel smoother to one continuous Flowline while preserving its endpoints and recording portable smoothing evidence.
smooth_flowline(flowline, bandwidth = 2, max_displacement = bandwidth)A one-feature, projected sf LINESTRING.
Positive numeric smoothing bandwidth in CRS map units. The default of 2 carries forward the legacy Flowline tool's PAEK tolerance.
Maximum permitted Hausdorff displacement in CRS map units. Defaults to the smoothing bandwidth.
The smoothed sf Flowline with smoothing method, parameter, package,
displacement, length-change, and validation fields.
The portable implementation uses smoothr::smooth() with Gaussian
kernel regression and no unnecessary densification. It is not claimed to
reproduce Esri PAEK vertices. The input coordinates remain the provenance
record; callers should retain the raw selected path separately.