Skip to content

Commit c931e1e

Browse files
author
Médéric RIBREUX
committedFeb 9, 2016
[Processing] Split v.generalize (implements Redmine #5707)
1 parent d11c689 commit c931e1e

File tree

5 files changed

+49
-19
lines changed

5 files changed

+49
-19
lines changed
 
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
v.generalize
2+
v.generalize.displacement - Vector based displacement generalization.
3+
Vector (v.*)
4+
ParameterVector|input|Input layer|-1|False
5+
Hardcoded|method=displacement
6+
ParameterNumber|threshold|Maximal tolerance value|None|None|1.0
7+
ParameterNumber|alpha|Snakes alpha parameter|None|None|1.0
8+
ParameterNumber|beta|Snakes beta parameter|None|None|1.0
9+
ParameterNumber|iterations|Number of iterations|None|None|1
10+
ParameterBoolean|-t|Do not copy attributes|False
11+
ParameterBoolean|-l|Disable loop support|True
12+
OutputVector|output|Displaced
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
v.generalize
2+
v.generalize.network - Vector based network generalization.
3+
Vector (v.*)
4+
ParameterVector|input|Input layer|-1|False
5+
Hardcoded|method=network
6+
ParameterNumber|threshold|Maximal tolerance value|None|None|1.0
7+
ParameterNumber|degree_thresh|Degree threshold in network generalization|None|None|0
8+
ParameterNumber|closeness_thresh|Closeness threshold in network generalization|0.0|1.0|0.0
9+
ParameterNumber|betweeness_thresh|Betweeness threshold in network generalization|None|None|0.0
10+
ParameterBoolean|-t|Do not copy attributes|False
11+
ParameterBoolean|-l|Disable loop support|True
12+
OutputVector|output|NetworkGeneralized
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
v.generalize
2+
v.generalize.simplify - Vector based simplification generalization.
3+
Vector (v.*)
4+
ParameterVector|input|Input layer|-1|False
5+
ParameterSelection|method|method|douglas;douglas_reduction;lang;reduction;reumann
6+
ParameterNumber|threshold|Maximal tolerance value|None|None|1.0
7+
ParameterNumber|look_ahead|Look-ahead parameter|None|None|7
8+
ParameterNumber|reduction|Percentage of the points in the output of 'douglas_reduction' algorithm|0.0|100.0|50.0
9+
ParameterBoolean|-t|Do not copy attributes|False
10+
ParameterBoolean|-l|Disable loop support|True
11+
OutputVector|output|Simplified
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
v.generalize
2+
v.generalize.smooth - Vector based smooth generalization.
3+
Vector (v.*)
4+
ParameterVector|input|Input layer|-1|False
5+
ParameterSelection|method|method|boyle;sliding_averaging;distance_weighting;chaiken;hermite;snakes
6+
ParameterNumber|threshold|Maximal tolerance value|None|None|1.0
7+
ParameterNumber|look_ahead|Look-ahead parameter|None|None|7
8+
ParameterNumber|slide|Slide of computed point toward the original point|0.0|1.0|0.5
9+
ParameterNumber|angle_thresh|Minimum angle between two consecutive segments in Hermite method|0.0|180.0|3.0
10+
ParameterNumber|alpha|Snakes alpha parameter|None|None|1.0
11+
ParameterNumber|beta|Snakes beta parameter|None|None|1.0
12+
ParameterBoolean|-t|Do not copy attributes|False
13+
ParameterBoolean|-l|Disable loop support|True
14+
OutputVector|output|Smoothed

‎python/plugins/processing/algs/grass7/description/v.generalize.txt

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.