Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Uniform and informative output names for Processing (GRASS-r.* module…
…s, take #1, up to r.grow)
  • Loading branch information
pcav committed May 18, 2015
1 parent eb5db2b commit 15419b8
Show file tree
Hide file tree
Showing 30 changed files with 36 additions and 36 deletions.
Expand Up @@ -5,4 +5,4 @@ ParameterRaster|elevation|Elevation|False
ParameterSelection|prec|Data type|float;double;int
ParameterNumber|zfactor|Multiplicative factor to convert elevation units to meters|None|None|1.0
ParameterNumber|min_slp_allowed|Minimum slope val. (in percent) for which aspect is computed|None|None|0.0
OutputRaster|aspect|Output aspect layer
OutputRaster|aspect|Aspect
Expand Up @@ -4,4 +4,4 @@ Raster (r.*)
ParameterRaster|base|Base raster layer|False
ParameterRaster|cover|Cover raster layer|False
ParameterBoolean|-c|Cover values extracted from the category labels of the cover map|False
OutputRaster|output|Average values
OutputRaster|output|Average
Expand Up @@ -4,4 +4,4 @@ Raster (r.*)
ParameterRaster|input|Input raster layer|False
ParameterNumber|north|Specific input value to be assigned to the north and/or south poles for longitude-latitude grids|None|None|0
ParameterNumber|east|Specific input value to be assigned to the north and/or south poles for longitude-latitude grids|None|None|0
OutputRaster|output|Output raster layer
OutputRaster|output|Interpolated bilinear
Expand Up @@ -4,4 +4,4 @@ Raster (r.*)
ParameterRaster|input|Input raster layer|False
ParameterString|pattern|Bit pattern position(s)|
ParameterString|patval|Bit pattern value|
OutputRaster|output|Output raster layer
OutputRaster|output|Bit pattern comparison
Expand Up @@ -6,4 +6,4 @@ ParameterNumber|min|Minimum radius for ring/circle map (in meters)|None|None|10
ParameterNumber|max|Maximum radius for ring/circle map (in meters)|None|None|20
ParameterString|mult|Data value multiplier|1
ParameterBoolean|-b|Generate binary raster map|False
OutputRaster|output|Name for output raster map
OutputRaster|output|Circles
Expand Up @@ -3,4 +3,4 @@ r.clump - Recategorizes data in a raster map by grouping cells that form physica
Raster (r.*)
ParameterRaster|input|Input layer|False
ParameterString|title|Title for output raster map|
OutputRaster|output|Recategorized layer
OutputRaster|output|Clumps
Expand Up @@ -5,4 +5,4 @@ ParameterRaster|map1|Name of first raster map|False
ParameterRaster|map2|Name of second raster map|False
ParameterSelection|units|Unit of measure|c;p;x;y;a;h;k;m
ParameterBoolean|-w|Wide report, 132 columns (default: 80)|False
OutputHTML|html|Output report
OutputHTML|html|Coincidence report
Expand Up @@ -9,4 +9,4 @@ ParameterNumber|lev_green|Number of levels to be used for <green>|1|256|32
ParameterNumber|lev_blue|Number of levels to be used for <blue>|1|256|32
ParameterBoolean|-d|Dither|False
ParameterBoolean|-c|Use closest color|False
OutputRaster|output|Output RGB image
OutputRaster|output|Composite
Expand Up @@ -6,4 +6,4 @@ ParameterString|minlevel|Minimum contour level|0
ParameterString|maxlevel|Maximum contour level|10000
ParameterString|step|Increment between contour levels|100
ParameterString|cut|Minimum number of points for a contour line (0 -> no limit)|0
OutputVector|output|contours
OutputVector|output|Contours
Expand Up @@ -3,4 +3,4 @@ r.cross - Creates a cross product of the category values from multiple raster ma
Raster (r.*)
ParameterMultipleInput|input|Input raster layers|3.0|False
ParameterBoolean|-z|Non-zero data only|False
OutputRaster|output|Output layer
OutputRaster|output|Cross product
Expand Up @@ -8,4 +8,4 @@ ParameterBoolean|-r|Only print the range of the data|False
ParameterBoolean|-n|Suppress reporting of any NULLs|False
ParameterBoolean|-d|Use the current region|False
ParameterBoolean|-i|Read fp map as integer|False
OutputHTML|html|Output report
OutputHTML|html|Categories
Expand Up @@ -6,4 +6,4 @@ ParameterString|coordinate|Map coordinates of starting point(s) (E,N)|0,0
ParameterBoolean|-c|Copy input cell values on output|False
ParameterBoolean|-a|Accumulate input values along the path|False
ParameterBoolean|-n|Count cell numbers along the path|False
OutputRaster|output|Result
OutputRaster|output|Least cost path
Expand Up @@ -7,4 +7,4 @@ ParameterMultipleInput|vector_points|Vector layer(s) containing starting point(s
ParameterBoolean|-c|Copy input cell values on output|False
ParameterBoolean|-a|Accumulate input values along the path|False
ParameterBoolean|-n|Count cell numbers along the path|False
OutputRaster|output|Result
OutputRaster|output|Least cost path
Expand Up @@ -5,4 +5,4 @@ ParameterRaster|input|Input raster layer to fill|False
ParameterSelection|method|Method|bilinear;bicubic;rst|2
ParameterNumber|tension|Spline tension parameter|None|None|40.0
ParameterNumber|smooth|Spline smoothing parameter|None|None|0.1
OutputRaster|output|Filled layer
OutputRaster|output|Filled
6 changes: 3 additions & 3 deletions python/plugins/processing/algs/grass/description/r.flow.txt
Expand Up @@ -9,6 +9,6 @@ ParameterNumber|bound|Maximum number of segments per flowline|None|None|5.0
ParameterBoolean|-u|Compute upslope flowlines instead of default downhill flowlines|False
ParameterBoolean|-3|3-D lengths instead of 2-D|False
*ParameterBoolean|-m|Use less memory, at a performance penalty|False
OutputRaster|flout|Output flowline vector layer
OutputRaster|lgout|Output flowpath length raster layer
OutputRaster|dsout|Output flowline density raster layer
OutputRaster|flout|Flowline
OutputRaster|lgout|Flowpath length
OutputRaster|dsout|Flowline density
Expand Up @@ -3,5 +3,5 @@ r.grow.distance - Generates a raster layer of distance to features in input laye
Raster (r.*)
ParameterRaster|input|Input input raster layer|False
ParameterSelection|metric|Metric|euclidean;squared;maximum;manhattan
OutputRaster|distance|Distance layer
OutputRaster|value|Output value
OutputRaster|distance|Distance
OutputRaster|value|Value of nearest cell
Expand Up @@ -6,4 +6,4 @@ ParameterNumber|radius|Radius of buffer in raster cells|None|None|1.01
ParameterSelection|metric|Metric|euclidean;maximum;manhattan
ParameterNumber|old|Value to write for input cells which are non-NULL (-1 => NULL)|None|None|0
ParameterNumber|new|Value to write for "grown" cells|None|None|1
OutputRaster|output|Output layer
OutputRaster|output|Expanded
Expand Up @@ -5,4 +5,4 @@ ParameterRaster|elevation|Elevation|False
ParameterSelection|precision|Data type|CELL;FCELL;DCELL
ParameterNumber|zfactor|Multiplicative factor to convert elevation units to meters|None|None|1.0
ParameterNumber|min_slope|Minimum slope val. (in percent) for which aspect is computed|None|None|0.0
OutputRaster|aspect|Output aspect layer
OutputRaster|aspect|Aspect
Expand Up @@ -6,4 +6,4 @@ ParameterNumber|min|Minimum radius for ring/circle map (in meters)|None|None|10
ParameterNumber|max|Maximum radius for ring/circle map (in meters)|None|None|20
ParameterString|multiplier|Data value multiplier|1
ParameterBoolean|-b|Generate binary raster map|False
OutputRaster|output|Name for output raster map
OutputRaster|output|Circles
Expand Up @@ -3,4 +3,4 @@ r.clump - Recategorizes data in a raster map by grouping cells that form physica
Raster (r.*)
ParameterRaster|input|Input layer|False
ParameterString|title|Title for output raster map|
OutputRaster|output|Recategorized layer
OutputRaster|output|Clumps
Expand Up @@ -5,4 +5,4 @@ ParameterRaster|first|Name of first raster map|False
ParameterRaster|second|Name of second raster map|False
ParameterSelection|units|Unit of measure|c;p;x;y;a;h;k;m
ParameterBoolean|-w|Wide report, 132 columns (default: 80)|False
OutputHTML|html|Output report
OutputHTML|html|Coincidence report
Expand Up @@ -9,4 +9,4 @@ ParameterNumber|level_green|Number of levels to be used for <green>|1|256|32
ParameterNumber|level_blue|Number of levels to be used for <blue>|1|256|32
ParameterBoolean|-d|Dither|False
ParameterBoolean|-c|Use closest color|False
OutputRaster|output|Output RGB image
OutputRaster|output|Composite
Expand Up @@ -6,4 +6,4 @@ ParameterString|minlevel|Minimum contour level|0
ParameterString|maxlevel|Maximum contour level|10000
ParameterString|step|Increment between contour levels|100
ParameterString|cut|Minimum number of points for a contour line (0 -> no limit)|0
OutputVector|output|contours
OutputVector|output|Contours
Expand Up @@ -3,4 +3,4 @@ r.cross - Creates a cross product of the category values from multiple raster ma
Raster (r.*)
ParameterMultipleInput|input|Input raster layers|3.0|False
ParameterBoolean|-z|Non-zero data only|False
OutputRaster|output|Output layer
OutputRaster|output|Cross product
Expand Up @@ -8,4 +8,4 @@ ParameterBoolean|-r|Only print the range of the data|False
ParameterBoolean|-n|Suppress reporting of any NULLs|False
ParameterBoolean|-d|Use the current region|False
ParameterBoolean|-i|Read floating-point map as integer|False
OutputHTML|html|Output report
OutputHTML|html|Categories
Expand Up @@ -7,4 +7,4 @@ ParameterMultipleInput|start_points|Vector layer(s) containing starting point(s)
ParameterBoolean|-c|Copy input cell values on output|False
ParameterBoolean|-a|Accumulate input values along the path|False
ParameterBoolean|-n|Count cell numbers along the path|False
OutputRaster|output|Result
OutputRaster|output|Least cost path
Expand Up @@ -4,4 +4,4 @@ Raster (r.*)
ParameterRaster|input|Input raster layer to fill|False
ParameterNumber|tension|Spline tension parameter|None|None|40.0
ParameterNumber|smooth|Spline smoothing parameter|None|None|0.1
OutputRaster|output|Filled layer
OutputRaster|output|Filled
6 changes: 3 additions & 3 deletions python/plugins/processing/algs/grass7/description/r.flow.txt
Expand Up @@ -9,6 +9,6 @@ ParameterNumber|bound|Maximum number of segments per flowline|None|None|5.0
ParameterBoolean|-u|Compute upslope flowlines instead of default downhill flowlines|False
ParameterBoolean|-3|3-D lengths instead of 2-D|False
*ParameterBoolean|-m|Use less memory, at a performance penalty|False
OutputRaster|flowline|Output flow line vector layer
OutputRaster|flowlength|Output flow path length raster layer
OutputRaster|flowaccumulation|Output flow accumulation raster layer
OutputRaster|flowline|Flow line
OutputRaster|flowlength|Flow path length
OutputRaster|flowaccumulation|Flow accumulation
Expand Up @@ -3,5 +3,5 @@ r.grow.distance - Generates a raster layer of distance to features in input laye
Raster (r.*)
ParameterRaster|input|Input input raster layer|False
ParameterSelection|metric|Metric|euclidean;squared;maximum;manhattan
OutputRaster|distance|Distance layer
OutputRaster|value|Output value
OutputRaster|distance|Distance
OutputRaster|value|Value of nearest cell
Expand Up @@ -6,4 +6,4 @@ ParameterNumber|radius|Radius of buffer in raster cells|None|None|1.01
ParameterSelection|metric|Metric|euclidean;maximum;manhattan
ParameterNumber|old|Value to write for input cells which are non-NULL (-1 => NULL)|None|None|0
ParameterNumber|new|Value to write for "grown" cells|None|None|1
OutputRaster|output|Output layer
OutputRaster|output|Expanded

0 comments on commit 15419b8

Please sign in to comment.