v.net.connectivity(1)
π v.net.connectivity π
okay bestie, welcome to the GRASS GIS User's Manual β¨ this one is v.net.connectivity(1) and it's giving network-graph main character energy, so let's get into it π«Ά
β¨ NAME β¨
v.net.connectivity β computes vertex connectivity between two sets of nodes in the network π
π KEYWORDS π
vector, network, connectivity
πΈ SYNOPSIS πΈ
v.net.connectivity
v.net.connectivity --help
v.net.connectivity input=name [arc_layer=string] [node_layer=string]
[arc_column=name] [arc_backward_column=name] output=name
[node_column=name] [set1_cats=range] [set1_where=sql_query]
[set2_cats=range] [set2_where=sql_query] [--overwrite] [--help]
[--verbose] [--quiet] [--ui]
π¦ Flags π¦
--overwriteβ bestie, this one lets your output files just overwrite existing files. no hesitation. slay, but careful π--helpβ prints the usage summary, iykyk--verboseβ verbose module output, she's chatty π¬--quietβ quiet module output, she's mysterious π€«--uiβ force launching the GUI dialog, for when you want the pretty buttons π
π Parameters π
input=name[required] β name of input vector map. Or, plot twist, a data source for direct OGR access β¨arc_layer=stringβ arc layer. lowkey important: vector features can have category values in different layers, and this number determines which layer to use. When used with direct OGR access this is the layer name. Default:1node_layer=stringβ node layer. same vibe as arc_layer fr: vector features can have category values in different layers, this number picks which one. When used with direct OGR access this is the layer name. Default:2arc_column=nameβ arc forward/both direction(s) cost column (number) πΈarc_backward_column=nameβ arc backward direction cost column (number), the reverse-girlie of the one above π«Άoutput=name[required] β name for output vector map πnode_column=nameβ node cost column (number) πset1_cats=rangeβ set1 category values. Example:1,3,7-9,13set1_where=sql_queryβ set1 WHERE conditions of SQL statement without 'where' keyword. Example:income < 1000 and population >= 10000set2_cats=rangeβ category values. Set2 category values πset2_where=sql_queryβ set2 WHERE conditions of SQL statement without 'where' keyword. Example:income < 1000 and population >= 10000
π₯ DESCRIPTION π₯
v.net.connectivity computes vertex connectivity between two sets β aka the minimum number of vertices whose removal would separate two given sets. literally the "how many little guys do I have to take out to break these two apart" question π§
β NOTES β
The two sets (set1 and set2) get specified by their respective layer, where and cats parameters. no cap.
And listen β just like the v.net.flow module, capacities of nodes can be handed over via the node_column option π
v.net.connectivity finds the set of nodes of minimum total capacitiy separating the two given sets and outputs a map containing points on the positions of these nodes β¨
Default capacity, which is used when no column is specified, is one. periodt.
π EXAMPLE π
First one: find the minimum number of intersections separating roads on the left bank from roads on the right bank. iconic scenario tbh π
v.net.connectivity input=roads output=roads_conn set1_where="bank=left" \
set2_where="bank=right"
Second one, going full aviation:
v.net.connectivity input=airtraffic output=connectivity \
set1_where="name=JFK" set2_where="name=Heathrow" node_column=capacity
π« SEE ALSO π«
v.net, v.net.flow, v.net.bridge
π AUTHORS π
Daniel Bundala, Google Summer of Code 2009, Student Wolf Bergenheim, Mentor
π¦ SOURCE CODE π¦
Available at: v.net.connectivity source code (history)
Accessed: Saturday Jan 17 05:41:26 2026
Main index | Vector index | Topics index | Keywords index | Graphical index | Full index
Β© 2003-2025 GRASS Development Team, GRASS GIS 8.4.2 Reference Manual
okay that's the whole page bestie, no notes, ate π
this was GRASS 8.4.2 dropping v.net.connectivity(1), last touched Saturday Jan 17 05:41:26 2026 β go forth and compute your connectivity, you've got this π«Άβ¨πΈ
π¦ where this page comes from
- fedora 44: grass 8.4.2-4.fc44 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms