Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[processing] fix v.net.centrality
- Loading branch information
1 parent
23f3c58
commit a05c8a7
Showing
6 changed files
with
13 additions
and
19 deletions.
There are no files selected for viewing
10 changes: 4 additions & 6 deletions
10
python/plugins/processing/algs/grass7/description/v.net.centrality.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,18 @@ | ||
v.net.centrality | ||
Computes degree, centrality, betweeness, closeness and eigenvector centrality measures in the network. | ||
Computes degree, centrality, betweenness, closeness and eigenvector centrality measures in the network. | ||
Vector (v.*) | ||
QgsProcessingParameterFeatureSource|input|Input vector line layer (network)|1|None|False | ||
QgsProcessingParameterFeatureSource|points|Centers point layer (nodes)|0|None|False | ||
QgsProcessingParameterNumber|threshold|Threshold for connecting centers to the network (in map unit)|QgsProcessingParameterNumber.Double|50.0|False|0.0|None | ||
QgsProcessingParameterString|degree|Name of output degree centrality column|degree|False|True | ||
QgsProcessingParameterString|closeness|Name of output closeness centrality column|closeness|False|True | ||
QgsProcessingParameterString|betweenness|Name of output betweenness centrality column|None|False|True | ||
QgsProcessingParameterString|eigenvector|Name of output eigenvector centrality column|None|False|True | ||
QgsProcessingParameterString|betweenness|Name of output betweenness centrality column|betweenness|False|True | ||
QgsProcessingParameterString|eigenvector|Name of output eigenvector centrality column|eigenvector|False|True | ||
*QgsProcessingParameterNumber|iterations|Maximum number of iterations to compute eigenvector centrality|QgsProcessingParameterNumber.Integer|1000|True|1|None | ||
*QgsProcessingParameterNumber|error|Cumulative error tolerance for eigenvector centrality|QgsProcessingParameterNumber.Double|0.1|True|0.0|None | ||
*QgsProcessingParameterString|cats|Category values|None|False|True | ||
*QgsProcessingParameterString|where|WHERE conditions of SQL statement without 'where' keyword|None|True|True | ||
*QgsProcessingParameterField|arc_column|Arc forward/both direction(s) cost column (number)|None|input|0|False|True | ||
*QgsProcessingParameterField|arc_backward_column|Arc backward direction cost column (number)|None|input|0|False|True | ||
*QgsProcessingParameterField|node_column|Node cost column (number)|None|points|0|False|True | ||
*QgsProcessingParameterField|node_column|Node cost column (number)|None|input|0|False|True | ||
*QgsProcessingParameterBoolean|-a|Add points on nodes|True|True | ||
*QgsProcessingParameterBoolean|-g|Use geodesic calculation for longitude-latitude locations|False|True | ||
QgsProcessingParameterVectorDestination|output|Network Centrality |
Binary file modified
BIN
+15.7 KB
(1300%)
python/plugins/processing/tests/testdata/expected/grass7/v_net_centrality.dbf
Binary file not shown.
2 changes: 1 addition & 1 deletion
2
python/plugins/processing/tests/testdata/expected/grass7/v_net_centrality.prj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
PROJCS["WGS_1984_UTM_Zone_35S",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",27],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] | ||
PROJCS["unknown",GEOGCS["GCS_wgs84",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000.0],PARAMETER["False_Northing",10000000.0],PARAMETER["Central_Meridian",15.0],PARAMETER["Scale_Factor",0.9996],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]] |
Binary file modified
BIN
+3.88 KB
(700%)
python/plugins/processing/tests/testdata/expected/grass7/v_net_centrality.shp
Binary file not shown.
Binary file modified
BIN
+1.11 KB
(540%)
python/plugins/processing/tests/testdata/expected/grass7/v_net_centrality.shx
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters