Experimental
Assigns a connected-component ID to each line feature in a network.
vector network components
| Name | Description | Required | Default |
|---|---|---|---|
input | Input line network layer. | Required | network.shp |
snap_tolerance | Optional node snapping tolerance for graph construction. | Optional | 0.0 |
output | Output line vector path. | Required | — |
Labels disconnected subnetworks with unique component IDs.
wbe.network_connected_components(input='network.shp', output='network_components.shp', snap_tolerance=0.0)