Improved v.distance and v.generalize GRASS modules

git-svn-id: http://svn.osgeo.org/qgis/trunk@15402 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
pcav 2011-03-09 15:26:37 +00:00
parent ff3cc63769
commit d66eff33e5
2 changed files with 19 additions and 18 deletions

View File

@ -4,9 +4,10 @@
<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">
<option key="from" typemask="point" layeroption="from_layer"/>
<option key="to" typeoption="to_type" layeroption="to_layer"/>
<option key="upload"/>
<option key="dmax"/>
<option key="dmin"/>
<field key="column" layer="from" type="integer,double" label="Attribute field" />
<option key="output"/>
<option key="upload" />
<field key="to_column" layer="to" type="string" label="(Optional) column to read labels" />
<field key="column" layer="from" type="integer,double,string" label="Attribute field to (over)write" />
<option key="output" advanced="yes"/>
<option key="dmax" advanced="yes"/>
<option key="dmin" advanced="yes"/>
</qgisgrassmodule>

View File

@ -4,20 +4,20 @@
<qgisgrassmodule label="Simplify vector" module="v.generalize">
<option key="input" typeoption="type" layeroption="layer" />
<flag key="c" answer="on" hidden="yes" />
<option key="type" />
<option key="type" label="Feature type (for polygons, choose Boundary)"/>
<option key="method" />
<option key="threshold" answer="1.0" />
<option key="look_ahead" answer="7" />
<option key="reduction" answer="50" />
<option key="slide" answer="0.5" />
<option key="angle_thresh" answer="3" />
<option key="degree_thresh" answer="0" />
<option key="closeness_thresh" answer="0" />
<option key="betweeness_thresh" answer="0" />
<option key="alpha" answer="1.0" />
<option key="beta" answer="1.0" />
<option key="iterations" answer="1" />
<option key="layer" answer="1" />
<option key="threshold" answer="1.0" label="Maximal tolerance value (higher value=more simplification)" />
<option key="look_ahead" answer="7" advanced="yes" />
<option key="reduction" answer="50" advanced="yes" />
<option key="slide" answer="0.5" advanced="yes" />
<option key="angle_thresh" answer="3" advanced="yes" />
<option key="degree_thresh" answer="0" advanced="yes" />
<option key="closeness_thresh" answer="0" advanced="yes" />
<option key="betweeness_thresh" answer="0" advanced="yes" />
<option key="alpha" answer="1.0" advanced="yes" />
<option key="beta" answer="1.0" advanced="yes" />
<option key="iterations" answer="1" advanced="yes"/>
<option key="layer" answer="1" advanced="yes"/>
<flag key="r" />
<option key="output" />
</qgisgrassmodule>