Skip to content

Commit

Permalink
added iimproved GRASS algorithm description by M. Neteler and patch for
Browse files Browse the repository at this point in the history
#5674 by M.Metz

git-svn-id: http://sextante.googlecode.com/svn/trunk/soft/bindings/qgis-plugin@205 881b9c09-3ef8-f3c2-ec3d-21d735c97f4d
  • Loading branch information
volayaf committed Jun 1, 2012
1 parent 24fec70 commit d7c4247
Show file tree
Hide file tree
Showing 153 changed files with 249 additions and 302 deletions.
2 changes: 1 addition & 1 deletion src/sextante/grass/GrassAlgorithm.py
Expand Up @@ -238,7 +238,7 @@ def processAlgorithm(self, progress):
command += " output=\"" + filename + "\""
commands.append(command)
if isinstance(out, OutputVector):
command = "v.out.ogr -e input=" + out.name
command = "v.out.ogr -ce input=" + out.name
command += " dsn=\"" + os.path.dirname(out.value) + "\""
command += " format=ESRI_Shapefile"
command += " olayer=" + os.path.basename(out.value)[:-4]
Expand Down
30 changes: 15 additions & 15 deletions src/sextante/grass/description/i.atcorr.txt
@@ -1,15 +1,15 @@
i.attcorr
Atmospheric correction
Imagery (i.*)
ParameterRaster|iimg|Name of input raster map|False
ParameterBoolean|-a|Input from ETM+ image taken after July 1, 2000|False
ParameterBoolean|-b|Input from ETM+ image taken before July 1, 2000|False
ParameterRaster|ialt|Input altitude raster map in m (optional)|True
ParameterRaster|ivis|Input visibility raster map in km (optional)|True
ParameterFile|icnd|Name of input text file|False
ParameterRange|iscl|Input imagery range [0,255]|0,255
ParameterBoolean|-o|Try to increase computation speed when altitude and/or visibility map is used|True
OutputRaster|oimg|Name for output raster map
ParameterBoolean|-f|Output raster is floating point|False
ParameterRange|oscl|Rescale output raster map [0,255]|0,255
i.atcorr
i.atcorr - Performs atmospheric correction using the 6S algorithm.
Imagery (i.*)
ParameterRaster|iimg|Name of input raster map|False
ParameterBoolean|-a|Input from ETM+ image taken after July 1, 2000|False
ParameterBoolean|-b|Input from ETM+ image taken before July 1, 2000|False
ParameterRaster|ialt|Input altitude raster map in m (optional)|True
ParameterRaster|ivis|Input visibility raster map in km (optional)|True
ParameterFile|icnd|Name of input text file|False
ParameterRange|iscl|Input imagery range [0,255]|0,255
ParameterBoolean|-o|Try to increase computation speed when altitude and/or visibility map is used|True
OutputRaster|oimg|Name for output raster map
ParameterBoolean|-f|Output raster is floating point|False
ParameterRange|oscl|Rescale output raster map [0,255]|0,255

14 changes: 7 additions & 7 deletions src/sextante/grass/description/i.fft.txt
@@ -1,7 +1,7 @@
i.fft
Fast Fourier Transform (FFT)
Imagery (i.*)
ParameterRaster|input_image|Name of input raster map|False
OutputRaster|real_image|Name for output real part arrays stored as raster map
OutputRaster|imaginary_image|Name for output imaginary part arrays stored as raster map
i.fft
i.fft - Fast Fourier Transform (FFT) for image processing.
Imagery (i.*)
ParameterRaster|input_image|Name of input raster map|False
OutputRaster|real_image|Name for output real part arrays stored as raster map
OutputRaster|imaginary_image|Name for output imaginary part arrays stored as raster map

20 changes: 10 additions & 10 deletions src/sextante/grass/description/i.his.rgb.txt
@@ -1,10 +1,10 @@
i.his.rgb
HIS to RGB transform
Imagery (i.*)
ParameterRaster|hue_input|Name of input raster map (hue)|False
ParameterRaster|intensity_input|Name of input raster map (intensity)|False
ParameterRaster|saturation_input|Name of input raster map (saturation)|False
OutputRaster|red_output|Name for output raster map (red)
OutputRaster|green_output|Name for output raster map (green)
OutputRaster|blue_output|Name for output raster map (blue)
i.his.rgb
i.his.rgb - Transforms raster maps from HIS (Hue-Intensity-Saturation) color space to RGB (Red-Green-Blue) color space.
Imagery (i.*)
ParameterRaster|hue_input|Name of input raster map (hue)|False
ParameterRaster|intensity_input|Name of input raster map (intensity)|False
ParameterRaster|saturation_input|Name of input raster map (saturation)|False
OutputRaster|red_output|Name for output raster map (red)
OutputRaster|green_output|Name for output raster map (green)
OutputRaster|blue_output|Name for output raster map (blue)

14 changes: 7 additions & 7 deletions src/sextante/grass/description/i.ifft.txt
@@ -1,7 +1,7 @@
i.ifft
Inverse Fast Fourier Transform (IFFT)
Imagery (i.*)
ParameterRaster|real_image|Name of input raster map (image fft, real part)|False
ParameterRaster|imaginary_image|Name of input raster map (image fft, imaginary part)|False
OutputRaster|output_image|Name for output raster map
i.ifft
i.ifft - Inverse Fast Fourier Transform (IFFT) for image processing.
Imagery (i.*)
ParameterRaster|real_image|Name of input raster map (image fft, real part)|False
ParameterRaster|imaginary_image|Name of input raster map (image fft, imaginary part)|False
OutputRaster|output_image|Name for output raster map

9 changes: 9 additions & 0 deletions src/sextante/grass/description/i.rgb.his.txt
@@ -0,0 +1,9 @@
i.rgb.his
i.rgb.his - Transforms raster maps from RGB (Red-Green-Blue) color space to HIS (Hue-Intensity-Saturation) color space.
Imagery (i.*)
ParameterRaster|red_output|Name for input raster map (red)
ParameterRaster|green_output|Name for input raster map (green)
ParameterRaster|blue_output|Name for input raster map (blue)
OutputRaster|hue_input|Name of output raster map (hue)|False
OutputRaster|intensity_input|Name of output raster map (intensity)|False
OutputRaster|saturation_input|Name of output raster map (saturation)|False
18 changes: 9 additions & 9 deletions src/sextante/grass/description/i.zc.txt
@@ -1,9 +1,9 @@
i.zc
Zero-crossing "edge detection"
Imagery (i.*)
ParameterRaster|input|Name of input raster map|False
ParameterNumber|width|x-y extent of the Gaussian filter|1|None|9
ParameterNumber|threshold|Sensitivity of Gaussian filter|0|None|10.0
ParameterNumber|orientations|Number of azimuth directions categorized|0|None|1
OutputRaster|output|Zero crossing raster map
i.zc
i.zc - Zero-crossing "edge detection" raster function for image processing.
Imagery (i.*)
ParameterRaster|input|Name of input raster map|False
ParameterNumber|width|x-y extent of the Gaussian filter|1|None|9
ParameterNumber|threshold|Sensitivity of Gaussian filter|0|None|10.0
ParameterNumber|orientations|Number of azimuth directions categorized|0|None|1
OutputRaster|output|Zero crossing raster map

16 changes: 8 additions & 8 deletions src/sextante/grass/description/nviz.txt
@@ -1,8 +1,8 @@
nviz
nviz
Visualization(NVIZ)
ParameterMultipleInput|elevation|Name of elevation raster map|3|False
ParameterMultipleInput|color|Name of raster map(s) for Color|-1|False
ParameterMultipleInput|vector|Name of vector lines/areas overlay map(s)|-1|False
ParameterMultipleInput|point|Name of vector points overlay file(s)|-1|False
ParameterMultipleInput|volume|Name of existing 3d raster map|-1|False
nviz
nviz - Visualization and animation tool for GRASS data.
Visualization(NVIZ)
ParameterMultipleInput|elevation|Name of elevation raster map|3|False
ParameterMultipleInput|color|Name of raster map(s) for Color|-1|False
ParameterMultipleInput|vector|Name of vector lines/areas overlay map(s)|-1|False
ParameterMultipleInput|point|Name of vector points overlay file(s)|-1|False
ParameterMultipleInput|volume|Name of existing 3d raster map|-1|False
2 changes: 1 addition & 1 deletion src/sextante/grass/description/r.average.txt
@@ -1,5 +1,5 @@
r.average
r.average
r.average - Finds the average of values in a cover map within areas assigned the same category value in a user-specified base map.
Raster (r.*)
ParameterRaster|base|Name of base raster map|False
ParameterRaster|cover|Name of cover raster map|False
Expand Down
2 changes: 1 addition & 1 deletion src/sextante/grass/description/r.basins.fill.txt
@@ -1,5 +1,5 @@
r.basins.fill
r.basins.fill
r.basins.fill - Generates watershed subbasins raster map.
Raster (r.*)
ParameterRaster|c_map|Name of input coded stream network raster map|False
ParameterRaster|t_map|Name of input thinned ridge network raster map|False
Expand Down
2 changes: 1 addition & 1 deletion src/sextante/grass/description/r.bilinear.txt
@@ -1,5 +1,5 @@
r.bilinear
r.bilinear
r.bilinear - Bilinear interpolation utility for raster map layers.
Raster (r.*)
ParameterRaster|input|Name of input raster map|False
ParameterNumber|north|Specific input value to be assigned to the north and/or south poles for longitude-latitude grids|None|None|0
Expand Down
2 changes: 1 addition & 1 deletion src/sextante/grass/description/r.bitpattern.txt
@@ -1,5 +1,5 @@
r.bitpattern
r.bitpattern
r.bitpattern - Compares bit patterns with a raster map.
Raster (r.*)
ParameterRaster|input|Name of input raster map|False
ParameterString|pattern|Bit pattern position(s)|
Expand Down
2 changes: 1 addition & 1 deletion src/sextante/grass/description/r.buffer.txt
@@ -1,5 +1,5 @@
r.buffer
r.buffer
r.buffer - Creates a raster map layer showing buffer zones surrounding cells that contain non-NULL category values.
Raster (r.*)
ParameterRaster|input|Name of input raster map|False
ParameterString|distances|Distance zone(s) (e.g. 100,200,300)|
Expand Down
2 changes: 1 addition & 1 deletion src/sextante/grass/description/r.carve.txt
@@ -1,5 +1,5 @@
r.carve
r.carve
r.carve - Takes vector stream data, transforms it to raster and subtracts depth from the output DEM.
Raster (r.*)
ParameterRaster|rast|Name of input raster elevation map|False
ParameterVector|vect|Name of vector input map containing stream(s)|1|False
Expand Down
2 changes: 1 addition & 1 deletion src/sextante/grass/description/r.circle.txt
@@ -1,5 +1,5 @@
r.circle
r.circle
r.circle - Creates a raster map containing concentric rings around a given point.
Raster (r.*)
ParameterString|coordinate|The coordinate of the center (east,north)|0,0
ParameterNumber|min|Minimum radius for ring/circle map (in meters)|None|None|10
Expand Down
2 changes: 1 addition & 1 deletion src/sextante/grass/description/r.clump.txt
@@ -1,5 +1,5 @@
r.clump
r.clump
r.clump - Recategorizes data in a raster map by grouping cells that form physically discrete areas into unique categories.
Raster (r.*)
ParameterRaster|input|Name of input raster map|False
ParameterString|title|Title for output raster map|
Expand Down
2 changes: 1 addition & 1 deletion src/sextante/grass/description/r.coin.txt
@@ -1,5 +1,5 @@
r.coin
r.coin
r.coin - Tabulates the mutual occurrence (coincidence) of categories for two raster map layers.
Raster (r.*)
ParameterRaster|map1|Name of first raster map|False
ParameterRaster|map2|Name of second raster map|False
Expand Down
2 changes: 1 addition & 1 deletion src/sextante/grass/description/r.colors.txt
@@ -1,5 +1,5 @@
r.colors
r.colors
r.colors - Creates/modifies the color table associated with a raster map layer.
Raster (r.*)
ParameterRaster|map|Name of input raster map|False
ParameterSelection|color|Type of color table|aspect;aspectcolr;bcyr;bgyr;byg;byr;celsius;corine;curvature;differences;elevation;etopo2;evi;gdd;grey;grey1.0;grey255;gyr;haxby;ndvi;population;precipitation;rainbow;ramp;rstcurv;ryb;ryg;sepia;slope;srtm;terrain;wave;random;grey.eq;grey.log;rules
Expand Down
2 changes: 1 addition & 1 deletion src/sextante/grass/description/r.composite.txt
@@ -1,5 +1,5 @@
r.composite
r.composite
r.composite - Combines red, green and blue raster maps into a single composite raster map.
Raster (r.*)
ParameterRaster|red|Name of raster map to be used for <red>|False
ParameterRaster|green|Name of raster map to be used for <green>|False
Expand Down
2 changes: 1 addition & 1 deletion src/sextante/grass/description/r.contour.txt
@@ -1,5 +1,5 @@
r.contour
r.contour
r.contour - Produces a vector map of specified contours from a raster map.
Raster (r.*)
ParameterRaster|input|Name of input raster map|False
ParameterString|levels|List of contour levels|
Expand Down
2 changes: 1 addition & 1 deletion src/sextante/grass/description/r.cost.txt
@@ -1,5 +1,5 @@
r.cost
r.cost
r.cost - Creates a raster map showing the cumulative cost of moving between different geographic locations on an input raster map whose cell category values represent cost.
Raster (r.*)
ParameterRaster|input|Name of raster map containing grid cell cost information|False
ParameterVector|start_points|Name of starting vector points map|0|False
Expand Down
2 changes: 1 addition & 1 deletion src/sextante/grass/description/r.covar.txt
@@ -1,5 +1,5 @@
r.covar
r.covar
r.covar - Outputs a covariance/correlation matrix for user-specified raster map layer(s).
Raster (r.*)
ParameterMultipleInput|map|Name of input raster map(s)|3.0|False
ParameterBoolean|-r|Print correlation matrix|True
2 changes: 1 addition & 1 deletion src/sextante/grass/description/r.cross.txt
@@ -1,5 +1,5 @@
r.cross
r.cross
r.cross - Creates a cross product of the category values from multiple raster map layers.
Raster (r.*)
ParameterMultipleInput|input|Names of 2-30 input raster maps|3.0|False
ParameterBoolean|-z|Non-zero data only|False
Expand Down
33 changes: 0 additions & 33 deletions src/sextante/grass/description/r.cva.txt

This file was deleted.

2 changes: 1 addition & 1 deletion src/sextante/grass/description/r.describe.txt
@@ -1,5 +1,5 @@
r.describe
r.describe
r.describe - Prints terse list of category values found in a raster map layer.
Raster (r.*)
ParameterRaster|map|Name of input raster map|False
ParameterString|nv|String representing no data cell value|*
Expand Down
2 changes: 1 addition & 1 deletion src/sextante/grass/description/r.distance.txt
@@ -1,5 +1,5 @@
r.distance
r.distance
r.distance - Locates the closest points between objects in two raster maps.
Raster (r.*)
ParameterRaster|maps|Maps for computing inter-class distances|False
ParameterString|fs|Output field separator|:
Expand Down
2 changes: 1 addition & 1 deletion src/sextante/grass/description/r.drain.txt
@@ -1,5 +1,5 @@
r.drain
r.drain
r.drain - Traces a flow through an elevation model on a raster map.
Raster (r.*)
ParameterRaster|input|Name of elevation raster map|False
ParameterString|coordinate|Map coordinates of starting point(s) (E,N)|
Expand Down
2 changes: 1 addition & 1 deletion src/sextante/grass/description/r.fill.dir.txt
@@ -1,5 +1,5 @@
r.fill.dir
r.fill.dir
r.fill.dir - Filters and generates a depressionless elevation map and a flow direction map from a given elevation raster map.
Raster (r.*)
ParameterRaster|input|Name of existing raster map containing elevation surface|False
ParameterSelection|type|Output aspect direction format|grass;agnps;answers
Expand Down
2 changes: 1 addition & 1 deletion src/sextante/grass/description/r.fillnulls.txt
@@ -1,5 +1,5 @@
r.fillnulls
r.fillnulls
r.fillnulls - Fills no-data areas in raster maps using v.surf.rst splines interpolation or v.surf.bspline interpolation
Raster (r.*)
ParameterRaster|input|Name of input raster map in which to fill nulls|False
ParameterNumber|tension|Spline tension parameter|None|None|40.0
Expand Down
2 changes: 1 addition & 1 deletion src/sextante/grass/description/r.flow.txt