Skip to content

Commit d66eff3

Browse files
author
pcav
committed
Improved v.distance and v.generalize GRASS modules
git-svn-id: http://svn.osgeo.org/qgis/trunk@15402 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent ff3cc63 commit d66eff3

File tree

2 files changed

+19
-18
lines changed

2 files changed

+19
-18
lines changed

src/plugins/grass/modules-common/v.distance.qgm

+6-5
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44
<qgisgrassmodule label="Find nearest element in vector 'to' for elements in vector 'from'. Various information about this relation may be uploaded to attribute table of input vector 'from'" module="v.distance">
55
<option key="from" typemask="point" layeroption="from_layer"/>
66
<option key="to" typeoption="to_type" layeroption="to_layer"/>
7-
<option key="upload"/>
8-
<option key="dmax"/>
9-
<option key="dmin"/>
10-
<field key="column" layer="from" type="integer,double" label="Attribute field" />
11-
<option key="output"/>
7+
<option key="upload" />
8+
<field key="to_column" layer="to" type="string" label="(Optional) column to read labels" />
9+
<field key="column" layer="from" type="integer,double,string" label="Attribute field to (over)write" />
10+
<option key="output" advanced="yes"/>
11+
<option key="dmax" advanced="yes"/>
12+
<option key="dmin" advanced="yes"/>
1213
</qgisgrassmodule>

src/plugins/grass/modules-common/v.generalize.qgm

+13-13
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,20 @@
44
<qgisgrassmodule label="Simplify vector" module="v.generalize">
55
<option key="input" typeoption="type" layeroption="layer" />
66
<flag key="c" answer="on" hidden="yes" />
7-
<option key="type" />
7+
<option key="type" label="Feature type (for polygons, choose Boundary)"/>
88
<option key="method" />
9-
<option key="threshold" answer="1.0" />
10-
<option key="look_ahead" answer="7" />
11-
<option key="reduction" answer="50" />
12-
<option key="slide" answer="0.5" />
13-
<option key="angle_thresh" answer="3" />
14-
<option key="degree_thresh" answer="0" />
15-
<option key="closeness_thresh" answer="0" />
16-
<option key="betweeness_thresh" answer="0" />
17-
<option key="alpha" answer="1.0" />
18-
<option key="beta" answer="1.0" />
19-
<option key="iterations" answer="1" />
20-
<option key="layer" answer="1" />
9+
<option key="threshold" answer="1.0" label="Maximal tolerance value (higher value=more simplification)" />
10+
<option key="look_ahead" answer="7" advanced="yes" />
11+
<option key="reduction" answer="50" advanced="yes" />
12+
<option key="slide" answer="0.5" advanced="yes" />
13+
<option key="angle_thresh" answer="3" advanced="yes" />
14+
<option key="degree_thresh" answer="0" advanced="yes" />
15+
<option key="closeness_thresh" answer="0" advanced="yes" />
16+
<option key="betweeness_thresh" answer="0" advanced="yes" />
17+
<option key="alpha" answer="1.0" advanced="yes" />
18+
<option key="beta" answer="1.0" advanced="yes" />
19+
<option key="iterations" answer="1" advanced="yes"/>
20+
<option key="layer" answer="1" advanced="yes"/>
2121
<flag key="r" />
2222
<option key="output" />
2323
</qgisgrassmodule>

0 commit comments

Comments
 (0)