other versions
- jessie 6.4.4-1
- stretch 7.2.0-2
- testing 7.6.0-1
- unstable 7.6.0-1
- experimental 7.6.1-1~exp1
| v.net.centrality(1grass) | Grass User's Manual | v.net.centrality(1grass) |
NAME¶
v.net.centrality - Computes degree, centrality, betweeness, closeness and eigenvector centrality measures in the network.KEYWORDS¶
vector, network, centrality measuresSYNOPSIS¶
v.net.centralityFlags:¶
- -g
-
Use geodesic calculation for longitude-latitude locations
- -a
-
Add points on nodes
- --overwrite
-
Allow output files to overwrite existing files
- --verbose
-
Verbose module output
- --quiet
-
Quiet module output
Parameters:¶
- input=name
-
Name of input vector map
- layer=integer
-
Layer numberA single vector map can be connected to multiple database tables. This number determines which table to use.Default: 1
- output=name
-
Name for output vector map
- cats=range
-
Category valuesExample: 1,3,7-9,13
- where=sql_query
-
WHERE conditions of SQL statement without 'where' keywordExample: income = 10000
- afcolumn=name
-
Name of arc forward/both direction(s) cost column
- abcolumn=name
-
Name of arc backward direction cost column
- degree=name
-
Name of degree centrality column
- closeness=name
-
Name of closeness centrality column
- betweenness=name
-
Name of betweenness centrality column
- eigenvector=name
-
Name of eigenvector centrality column
- iterations=integer
-
Maximum number of iterations to compute eigenvector centralityDefault: 1000
- error=float
-
Cummulative error tolerance for eigenvector centralityDefault: 0.1
DESCRIPTION¶
v.net.centrality computes degree, closeness, betweenness and eigenvector centrality measures.NOTES¶
The module computes various centrality measures for each node and stores them in the given columns of an attribute table, which is created and linked to the output map. For the description of these, please check the following wikipedia article. If the column name is not given for a measure then that measure is not computed. If -a flag is set then points are added on nodes without points. Also, the points for which the output is computed can be specified by cats, layer and where parameters. However, if any of these parameters is present then -a flag is ignored and no new points are added.EXAMPLES¶
Compute closeness and betweenness centrality measures for each node and produce a map containing not only points already present in the input map but a map with point on every node.betweenness=betweenness -a
SEE ALSO¶
v.net, v.generalizeAUTHORS¶
Daniel Bundala, Google Summer of Code 2009, Student| GRASS 6.4.4 |