-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2776 from medspx/processing_split_vgeneralize
[processing] split v.generalize (fix #5707)
- Loading branch information
Showing
5 changed files
with
49 additions
and
19 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
python/plugins/processing/algs/grass7/description/v.generalize.displacement.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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
v.generalize | ||
v.generalize.displacement - Vector based displacement generalization. | ||
Vector (v.*) | ||
ParameterVector|input|Input layer|-1|False | ||
Hardcoded|method=displacement | ||
ParameterNumber|threshold|Maximal tolerance value|None|None|1.0 | ||
ParameterNumber|alpha|Snakes alpha parameter|None|None|1.0 | ||
ParameterNumber|beta|Snakes beta parameter|None|None|1.0 | ||
ParameterNumber|iterations|Number of iterations|None|None|1 | ||
ParameterBoolean|-t|Do not copy attributes|False | ||
ParameterBoolean|-l|Disable loop support|True | ||
OutputVector|output|Displaced |
12 changes: 12 additions & 0 deletions
12
python/plugins/processing/algs/grass7/description/v.generalize.network.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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
v.generalize | ||
v.generalize.network - Vector based network generalization. | ||
Vector (v.*) | ||
ParameterVector|input|Input layer|-1|False | ||
Hardcoded|method=network | ||
ParameterNumber|threshold|Maximal tolerance value|None|None|1.0 | ||
ParameterNumber|degree_thresh|Degree threshold in network generalization|None|None|0 | ||
ParameterNumber|closeness_thresh|Closeness threshold in network generalization|0.0|1.0|0.0 | ||
ParameterNumber|betweeness_thresh|Betweeness threshold in network generalization|None|None|0.0 | ||
ParameterBoolean|-t|Do not copy attributes|False | ||
ParameterBoolean|-l|Disable loop support|True | ||
OutputVector|output|NetworkGeneralized |
11 changes: 11 additions & 0 deletions
11
python/plugins/processing/algs/grass7/description/v.generalize.simplify.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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
v.generalize | ||
v.generalize.simplify - Vector based simplification generalization. | ||
Vector (v.*) | ||
ParameterVector|input|Input layer|-1|False | ||
ParameterSelection|method|method|douglas;douglas_reduction;lang;reduction;reumann | ||
ParameterNumber|threshold|Maximal tolerance value|None|None|1.0 | ||
ParameterNumber|look_ahead|Look-ahead parameter|None|None|7 | ||
ParameterNumber|reduction|Percentage of the points in the output of 'douglas_reduction' algorithm|0.0|100.0|50.0 | ||
ParameterBoolean|-t|Do not copy attributes|False | ||
ParameterBoolean|-l|Disable loop support|True | ||
OutputVector|output|Simplified |
14 changes: 14 additions & 0 deletions
14
python/plugins/processing/algs/grass7/description/v.generalize.smooth.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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
v.generalize | ||
v.generalize.smooth - Vector based smooth generalization. | ||
Vector (v.*) | ||
ParameterVector|input|Input layer|-1|False | ||
ParameterSelection|method|method|boyle;sliding_averaging;distance_weighting;chaiken;hermite;snakes | ||
ParameterNumber|threshold|Maximal tolerance value|None|None|1.0 | ||
ParameterNumber|look_ahead|Look-ahead parameter|None|None|7 | ||
ParameterNumber|slide|Slide of computed point toward the original point|0.0|1.0|0.5 | ||
ParameterNumber|angle_thresh|Minimum angle between two consecutive segments in Hermite method|0.0|180.0|3.0 | ||
ParameterNumber|alpha|Snakes alpha parameter|None|None|1.0 | ||
ParameterNumber|beta|Snakes beta parameter|None|None|1.0 | ||
ParameterBoolean|-t|Do not copy attributes|False | ||
ParameterBoolean|-l|Disable loop support|True | ||
OutputVector|output|Smoothed |
19 changes: 0 additions & 19 deletions
19
python/plugins/processing/algs/grass7/description/v.generalize.txt
This file was deleted.
Oops, something went wrong.