Skip to content

Commit

Permalink
Merge pull request #2776 from medspx/processing_split_vgeneralize
Browse files Browse the repository at this point in the history
[processing] split v.generalize (fix #5707)
  • Loading branch information
alexbruy committed Feb 27, 2016
2 parents b0643ea + c931e1e commit 1c585a1
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 19 deletions.
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
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
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
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 python/plugins/processing/algs/grass7/description/v.generalize.txt

This file was deleted.

0 comments on commit 1c585a1

Please sign in to comment.