Experimental
Computes baseline degree, closeness, and betweenness centrality metrics for network nodes.
vector network centrality
| Name | Description | Required | Default |
|---|---|---|---|
input | Input line network layer. | Required | network.shp |
snap_tolerance | Optional node snapping tolerance for graph construction. | Optional | 0.0 |
edge_cost_field | Optional numeric line field used as an impedance multiplier for segment length. | Optional | — |
one_way_field | Optional line field marking one-way digitized edges (true/1/yes means from first to second vertex only). | Optional | — |
blocked_field | Optional line field marking blocked/closed edges to exclude from graph construction (true/1/yes blocks). | Optional | — |
output | Output point vector path. | Required | — |
Computes node-level centrality metrics for a line network.
wbe.network_centrality_metrics(input='network.shp', output='network_centrality.gpkg', snap_tolerance=0.0)