Experimental
Snaps nearby polyline endpoints to a shared location within a tolerance.
vector gis linework legacy-port
| Name | Description | Required | Default |
|---|---|---|---|
input | Input polyline vector layer. | Required | input_lines.shp |
snap_tolerance | Endpoint snapping tolerance in map units. | Optional | 2.220446049250313e-16 |
output | Output snapped polyline vector path. | Required | — |
Snaps adjacent line endpoints by a tolerance threshold.
wbe.snap_endnodes(input='input_lines.shp', output='snapped_endnodes.shp', snap_tolerance=2.220446049250313e-16)