Skip to content

Commit 20e4ec5

Browse files
committed
edited GRASS/SEXTANTE algorithm descriptions
1 parent f91e9d3 commit 20e4ec5

25 files changed

+73
-125
lines changed

python/plugins/sextante/grass/description/r.los.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ ParameterRaster|patt_map|Binary (1/0) raster layer to use as a mask|True
77
ParameterString|obs_elev|Viewing position height above the ground|1.75
88
ParameterString|max_dist|Maximum distance from the viewing point (meters)|10000
99
ParameterBoolean|-c|Consider earth curvature (current ellipsoid)|False
10-
OutputRaster|output|Output raster layer
10+
OutputRaster|output|Output raster layer

python/plugins/sextante/grass/description/r.mapcalculator.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ ParameterRaster|dmap|Raster layer D|True
88
ParameterRaster|emap|Raster layer E|True
99
ParameterRaster|fmap|Raster layer F|True
1010
ParameterString|formula|Formula| A*C+B
11-
OutputRaster|outfile|Output raster layer
11+
OutputRaster|outfile|Output raster layer

python/plugins/sextante/grass/description/r.plane.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
r.plane
2-
r.plane - Creates raster plane map given dip (inclination), aspect (azimuth) and one point.
2+
r.plane - Creates raster plane layer given dip (inclination), aspect (azimuth) and one point.
33
Raster (r.*)
44
ParameterNumber|dip|Dip of plane. Value must be between -90 and 90 degrees|None|None|0.0
55
ParameterNumber|azimuth|Azimuth of the plane. Value must be between 0 and 360 degrees|None|None|0.0
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
r.reclass.area
2+
r.reclass.area.greater - Reclassifies a raster layer, selecting areas larger than a user specified size
3+
Raster (r.*)
4+
ParameterRaster|input|Input raster layer|False
5+
ParameterNumber|greater|Area threshold [hectares]|0|None|1
6+
OutputRaster|output|Output raster layer
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
r.reclass.area
2+
r.reclass.area.lesser - Reclassifies a raster layer, selecting areas lower than a user specified size
3+
Raster (r.*)
4+
ParameterRaster|input|Input raster layer|False
5+
ParameterNumber|lesser|Area threshold [hectares]|0|None|1
6+
OutputRaster|output|Output raster layer

python/plugins/sextante/grass/description/r.reclass.area.txt

-7
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
r.reclass
22
r.reclass - Creates a new map layer whose category values are based upon a reclassification of the categories in an existing raster map layer.
33
Raster (r.*)
4-
ParameterRaster|input|Name of input raster map|False
4+
ParameterRaster|input|Input raster layer|False
55
ParameterFile|rules|File containing reclass rules|False
6-
OutputRaster|output|Name for output raster map
6+
OutputRaster|output|Output raster layer
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
r.recode
22
r.recode - Recodes categorical raster maps.
33
Raster (r.*)
4-
ParameterRaster|input|Name of input raster map|False
4+
ParameterRaster|input|Input layer|False
55
ParameterFile|rules|File containing recode rules|False
6-
ParameterString|title|Title for output raster map|
7-
ParameterBoolean|-a|Align the current region to the input raster map|False
8-
ParameterBoolean|-d|Force output to 'double' raster map type (DCELL)|False
9-
OutputRaster|output|Name for output raster map
6+
*ParameterBoolean|-d|Force output to 'double' raster map type (DCELL)|False
7+
OutputRaster|output|Output raster layer
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
r.regression.line
22
r.regression.line - Calculates linear regression from two raster layers : y = a + b*x.
33
Raster (r.*)
4-
ParameterRaster|map1|Map for x coefficient|False
5-
ParameterRaster|map2|Map for y coefficient|False
4+
ParameterRaster|map1|Layer for x coefficient|False
5+
ParameterRaster|map2|Layer for y coefficient|False
66
ParameterBoolean|-s|Slower but accurate|False
77
OutputHTML|html|Regression data
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
r.report
2-
r.report - Reports statistics for raster map layers.
2+
r.report - Reports statistics for raster layers.
33
Raster (r.*)
4-
ParameterMultipleInput|map|Raster map(s) to report on|3.0|False
4+
ParameterMultipleInput|map|Raster layer(s) to report on|3.0|False
55
ParameterSelection|units|Units|mi;me;k;a;h;c;p
66
ParameterString|null|Character representing no data cell value|*
7-
ParameterNumber|nsteps|Number of fp subranges to collect stats from|None|None|255
7+
ParameterNumber|nsteps|Number of fp subranges to collect stats from|1|None|255
88
ParameterBoolean|-h|Suppress page headers|True
99
ParameterBoolean|-f|Use formfeeds between pages|True
1010
ParameterBoolean|-e|Scientific format|True
1111
ParameterBoolean|-n|Filter out all no data cells|True
12-
ParameterBoolean|-N|Filter out cells where all maps have no data|True
13-
ParameterBoolean|-C|Report for cats fp ranges (fp maps only)|True
14-
ParameterBoolean|-i|Read fp map as integer (use map's quant rules)|True
15-
OutputHTML|output|Name of an output file to hold the report
12+
ParameterBoolean|-N|Filter out cells where all layers have no data|True
13+
OutputHTML|output|Output report file
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
r.resamp.interp
2-
r.resamp.interp - Resamples raster map layers to a finer grid using interpolation.
2+
r.resamp.interp - Resamples a raster map layer to a finer grid using interpolation.
33
Raster (r.*)
4-
ParameterRaster|input|Name of input raster map|False
4+
ParameterRaster|input|Input raster layer|False
55
ParameterSelection|method|Interpolation method|nearest;bilinear;bicubic
6-
OutputRaster|output|Name for output raster map
6+
OutputRaster|output|Output raster layer
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
r.resamp.rst
2-
r.resamp.rst - Reinterpolates and optionally computes topographic analysis using regularized spline with tension and smoothing.
2+
r.resamp.rst - Reinterpolates using regularized spline with tension and smoothing.
33
Raster (r.*)
4-
ParameterRaster|input|Name of input raster map|False
4+
ParameterRaster|input|Raster layer|False
55
ParameterNumber|ew_res|Desired east-west resolution|0.0|None|1
66
ParameterNumber|ns_res|Desired north-south resolution|0.0|None|1
77
ParameterBoolean|-t|Use dnorm independent tension|False
8-
ParameterBoolean|-d|Output partial derivatives instead of topographic parameters|False
9-
OutputRaster|elev|Output z-file (elevation) map
8+
OutputRaster|elev|Output layer
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
r.resamp.stats
2-
r.resamp.stats - Resamples raster map layers to a coarser grid using aggregation.
2+
r.resamp.stats - Resamples raster layers to a coarser grid using aggregation.
33
Raster (r.*)
4-
ParameterRaster|input|Name of input raster map|False
4+
ParameterRaster|input|Input raster layer|False
55
ParameterSelection|method|Aggregation method|average;median;mode;minimum;maximum;quart1;quart3;perc90;sum;variance;stddev
66
ParameterBoolean|-n|Propagate NULLs|False
77
ParameterBoolean|-w|Weight according to area (slower)|False
8-
OutputRaster|output|Name for output raster map
8+
OutputRaster|output|Output raster layer
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
r.resample
22
r.resample - GRASS raster map layer data resampling capability using nearest neighbors.
33
Raster (r.*)
4-
ParameterRaster|input|Name of input raster map|False
5-
OutputRaster|output|Name for output raster map
4+
ParameterRaster|input|Input raster layer |False
5+
OutputRaster|output|Output raster layer
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
r.rescale.eq
2-
r.rescale.eq - Rescales histogram equalized the range of category values in a raster map layer.
2+
r.rescale.eq - Rescales histogram equalized the range of category values in a raster layer.
33
Raster (r.*)
4-
ParameterRaster|input|Name of input raster map|False
5-
ParameterRange|from|The input data range to be rescaled (default: full range of input map)
4+
ParameterRaster|input|Input raster layer|False
5+
ParameterRange|from|The input data range to be rescaled
66
ParameterRange|to|The output data range
7-
OutputRaster|output|Name for output raster map
7+
OutputRaster|output|Output raster layer
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
r.rescale
2-
r.rescale - Rescales the range of category values in a raster map layer.
2+
r.rescale - Rescales the range of category values in a raster layer.
33
Raster (r.*)
4-
ParameterRaster|input|Name of input raster map|False
5-
ParameterRange|from|The input data range to be rescaled (default: full range of input map)|
6-
ParameterRange|to|The output data range|a,d
7-
OutputRaster|output|Name for output raster map
4+
ParameterRaster|input|Input raster layer|False
5+
ParameterRange|from|The input data range to be rescaled|
6+
ParameterRange|to|The output data range|0,1
7+
OutputRaster|output|Output raster layer

python/plugins/sextante/grass/description/r.ros.txt

-16
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
r.series
2-
r.series - Makes each output cell value a function of the values assigned to the corresponding cells in the input raster map layers.
2+
r.series - Makes each output cell value a function of the values assigned to the corresponding cells in the input raster layers.
33
Raster (r.*)
4-
ParameterMultipleInput|input|Name of input raster map(s)|3.0|False
4+
ParameterMultipleInput|input|Input raster layer(s)|3.0|False
55
ParameterBoolean|-n|Propagate NULLs|True
6-
ParameterSelection|method|Aggregate operation|average;count;median;mode;minimum;min_raster;maximum;max_raster;stddev;range;sum;threshold;variance;diversity;slope;offset;detcoeff;quart1;quart3;perc90;quantile;skewness;kurtosis
7-
*ParameterNumber|quantile|Quantile to calculate for method=quantile|0.0|1.0|0.0
8-
*ParameterNumber|threshold|Threshold to calculate for method=threshold|None|None|0.0
6+
ParameterSelection|method|Aggregate operation|average;count;median;mode;minimum;min_raster;maximum;max_raster;stddev;range;sum;variance;diversity;slope;offset;detcoeff;quart1;quart3;perc90;skewness;kurtosis
97
*ParameterString|range|Ignore values outside this range (lo,hi)|-10000000000,10000000000
10-
OutputRaster|output|Name for output raster map
8+
OutputRaster|output|Ouptut raster layer
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
r.shaded.relief
2-
r.shaded.relief - Creates shaded relief map from an elevation map (DEM).
2+
r.shaded.relief - Creates shaded relief from an elevation layer (DEM).
33
Raster (r.*)
4-
ParameterRaster|map|Input elevation map|False
4+
ParameterRaster|map|Input elevation layer|False
55
ParameterNumber|altitude|Altitude of the sun in degrees above the horizon|None|None|30.0
66
ParameterNumber|azimuth|Azimuth of the sun in degrees to the east of north|None|None|270.0
77
ParameterNumber|zmult|Factor for exaggerating relief|None|None|1.0
88
ParameterNumber|scale|Scale factor for converting horizontal units to elevation units|None|None|1.0
99
ParameterSelection|units|et scaling factor (applies to lat./long. locations only, none: scale=1)|none;meters;feet
10-
OutputRaster|shadedmap|Output shaded relief map name
10+
OutputRaster|shadedmap|Output shaded relief layer
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
r.slope.aspect
2-
r.slope.aspect - Generates raster maps of slope, aspect, curvatures and partial derivatives from a elevation raster map.
2+
r.slope.aspect - Generates raster layers of slope, aspect, curvatures and partial derivatives from a elevation raster layer.
33
Raster (r.*)
4-
ParameterRaster|elevation|Name of elevation raster map|False
4+
ParameterRaster|elevation|Elevation|False
55
ParameterSelection|format|Format for reporting the slope|degrees;percent
6-
ParameterSelection|prec|Type of output aspect and slope maps|float;double;int
6+
ParameterSelection|prec|Type of output aspect and slope layer|float;double;int
77
ParameterNumber|zfactor|Multiplicative factor to convert elevation units to meters|None|None|1.0
88
ParameterNumber|min_slp_allowed|Minimum slope val. (in percent) for which aspect is computed|None|None|0.0
9-
ParameterBoolean|-a|Do not align the current region to the elevation layer|True
10-
OutputRaster|slope|Name for output slope raster map
11-
OutputRaster|aspect|Name for output aspect raster map
12-
OutputRaster|pcurv|Name for output profile curvature raster map
13-
OutputRaster|tcurv|Name for output tangential curvature raster map
14-
OutputRaster|dx|Name for output first order partial derivative dx (E-W slope) raster map
15-
OutputRaster|dy|Name for output first order partial derivative dy (N-S slope) raster map
16-
OutputRaster|dxx|Name for output second order partial derivative dxx raster map
17-
OutputRaster|dyy|Name for output second order partial derivative dyy raster map
18-
OutputRaster|dxy|Name for output second order partial derivative dxy raster map
9+
OutputRaster|slope|Output slope layer
10+
OutputRaster|aspect|Output aspect layer
11+
OutputRaster|pcurv|Output profile curvature layer
12+
OutputRaster|tcurv|Output tangential curvature layer
13+
OutputRaster|dx|Output first order partial derivative dx (E-W slope) layer
14+
OutputRaster|dy|Output first order partial derivative dy (N-S slope) layer
15+
OutputRaster|dxx|Output second order partial derivative dxx layer
16+
OutputRaster|dyy|Output second order partial derivative dyy layer
17+
OutputRaster|dxy|Output second order partial derivative dxy layer

python/plugins/sextante/grass/description/r.slope.txt

-10
This file was deleted.

python/plugins/sextante/grass/description/r.spread.txt

-21
This file was deleted.

python/plugins/sextante/grass/description/r.spreadpath.txt

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,4 @@ Raster (r.*)
44
ParameterRaster|x_input|x_input|False
55
ParameterRaster|y_input|y_input|False
66
ParameterString|coordinate|coordinate|0,0
7-
ParameterBoolean|-v|-v|True
8-
OutputRaster|output|Name for output raster map
7+
OutputRaster|output|Output layer
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
r.statistics
22
r.statistics - Calculates category or object oriented statistics.
33
Raster (r.*)
4-
ParameterRaster|base|Name of base raster map|False
5-
ParameterRaster|cover|Name of cover raster map|False
6-
ParameterSelection|method|method|diversity;distribution;average;mode;median;avedev;stddev;variance;skewness;kurtosis;min;max;sum
4+
ParameterRaster|base|Base raster layer|False
5+
ParameterRaster|cover|Cover raster layer|False
6+
ParameterSelection|method|method|diversity;average;mode;median;avedev;stddev;variance;skewness;kurtosis;min;max;sum
77
ParameterBoolean|-c|Cover values extracted from the category labels of the cover map|False
8-
OutputRaster|output|Resultant raster map (not used with 'distribution')
8+
OutputRaster|output|Output raster layer
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
Merging|Merge raster layers
1+
Merge raster layers|Merging
22
grid_tools
33
DontResample
44
ParameterMultipleInput|GRIDS|Grids to Merge|3|False
55
ParameterSelection|TYPE|Preferred data storage type|[0] 1 bit;[1] 1 byte unsigned integer;[2] 1 byte signed integer;[3] 2 byte unsigned integer;[4] 2 byte signed integer;[5] 4 byte unsigned integer;[6] 4 byte signed integer;[7] 4 byte floating point;[8] 8 byte floating point
66
ParameterSelection|INTERPOL|Interpolation|[0] Nearest Neighbor;[1] Bilinear Interpolation;[2] Inverse Distance Interpolation;[3] Bicubic Spline Interpolation;[4] B-Spline Interpolation
77
ParameterSelection|OVERLAP|Overlapping Cells|[0] mean value;[1] first value in order of grid list
88
ParameterNumber|MERGE_INFO_MESH_SIZE|Cell Size|0.0|None|1.0
9-
OutputRaster|MERGED|Merged Grid
10-
d
9+
OutputRaster|MERGED|Merged Grid

0 commit comments

Comments
 (0)