Skip to content

Commit d7c4247

Browse files
author
volayaf
committed
added iimproved GRASS algorithm description by M. Neteler and patch for #5674 by M.Metz
git-svn-id: http://sextante.googlecode.com/svn/trunk/soft/bindings/qgis-plugin@205 881b9c09-3ef8-f3c2-ec3d-21d735c97f4d
1 parent 24fec70 commit d7c4247

File tree

153 files changed

+249
-302
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

153 files changed

+249
-302
lines changed

src/sextante/grass/GrassAlgorithm.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ def processAlgorithm(self, progress):
238238
command += " output=\"" + filename + "\""
239239
commands.append(command)
240240
if isinstance(out, OutputVector):
241-
command = "v.out.ogr -e input=" + out.name
241+
command = "v.out.ogr -ce input=" + out.name
242242
command += " dsn=\"" + os.path.dirname(out.value) + "\""
243243
command += " format=ESRI_Shapefile"
244244
command += " olayer=" + os.path.basename(out.value)[:-4]
+15-15
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
i.attcorr
2-
Atmospheric correction
3-
Imagery (i.*)
4-
ParameterRaster|iimg|Name of input raster map|False
5-
ParameterBoolean|-a|Input from ETM+ image taken after July 1, 2000|False
6-
ParameterBoolean|-b|Input from ETM+ image taken before July 1, 2000|False
7-
ParameterRaster|ialt|Input altitude raster map in m (optional)|True
8-
ParameterRaster|ivis|Input visibility raster map in km (optional)|True
9-
ParameterFile|icnd|Name of input text file|False
10-
ParameterRange|iscl|Input imagery range [0,255]|0,255
11-
ParameterBoolean|-o|Try to increase computation speed when altitude and/or visibility map is used|True
12-
OutputRaster|oimg|Name for output raster map
13-
ParameterBoolean|-f|Output raster is floating point|False
14-
ParameterRange|oscl|Rescale output raster map [0,255]|0,255
15-
1+
i.atcorr
2+
i.atcorr - Performs atmospheric correction using the 6S algorithm.
3+
Imagery (i.*)
4+
ParameterRaster|iimg|Name of input raster map|False
5+
ParameterBoolean|-a|Input from ETM+ image taken after July 1, 2000|False
6+
ParameterBoolean|-b|Input from ETM+ image taken before July 1, 2000|False
7+
ParameterRaster|ialt|Input altitude raster map in m (optional)|True
8+
ParameterRaster|ivis|Input visibility raster map in km (optional)|True
9+
ParameterFile|icnd|Name of input text file|False
10+
ParameterRange|iscl|Input imagery range [0,255]|0,255
11+
ParameterBoolean|-o|Try to increase computation speed when altitude and/or visibility map is used|True
12+
OutputRaster|oimg|Name for output raster map
13+
ParameterBoolean|-f|Output raster is floating point|False
14+
ParameterRange|oscl|Rescale output raster map [0,255]|0,255
15+
+7-7
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
i.fft
2-
Fast Fourier Transform (FFT)
3-
Imagery (i.*)
4-
ParameterRaster|input_image|Name of input raster map|False
5-
OutputRaster|real_image|Name for output real part arrays stored as raster map
6-
OutputRaster|imaginary_image|Name for output imaginary part arrays stored as raster map
7-
1+
i.fft
2+
i.fft - Fast Fourier Transform (FFT) for image processing.
3+
Imagery (i.*)
4+
ParameterRaster|input_image|Name of input raster map|False
5+
OutputRaster|real_image|Name for output real part arrays stored as raster map
6+
OutputRaster|imaginary_image|Name for output imaginary part arrays stored as raster map
7+
+10-10
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
i.his.rgb
2-
HIS to RGB transform
3-
Imagery (i.*)
4-
ParameterRaster|hue_input|Name of input raster map (hue)|False
5-
ParameterRaster|intensity_input|Name of input raster map (intensity)|False
6-
ParameterRaster|saturation_input|Name of input raster map (saturation)|False
7-
OutputRaster|red_output|Name for output raster map (red)
8-
OutputRaster|green_output|Name for output raster map (green)
9-
OutputRaster|blue_output|Name for output raster map (blue)
10-
1+
i.his.rgb
2+
i.his.rgb - Transforms raster maps from HIS (Hue-Intensity-Saturation) color space to RGB (Red-Green-Blue) color space.
3+
Imagery (i.*)
4+
ParameterRaster|hue_input|Name of input raster map (hue)|False
5+
ParameterRaster|intensity_input|Name of input raster map (intensity)|False
6+
ParameterRaster|saturation_input|Name of input raster map (saturation)|False
7+
OutputRaster|red_output|Name for output raster map (red)
8+
OutputRaster|green_output|Name for output raster map (green)
9+
OutputRaster|blue_output|Name for output raster map (blue)
10+
+7-7
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
i.ifft
2-
Inverse Fast Fourier Transform (IFFT)
3-
Imagery (i.*)
4-
ParameterRaster|real_image|Name of input raster map (image fft, real part)|False
5-
ParameterRaster|imaginary_image|Name of input raster map (image fft, imaginary part)|False
6-
OutputRaster|output_image|Name for output raster map
7-
1+
i.ifft
2+
i.ifft - Inverse Fast Fourier Transform (IFFT) for image processing.
3+
Imagery (i.*)
4+
ParameterRaster|real_image|Name of input raster map (image fft, real part)|False
5+
ParameterRaster|imaginary_image|Name of input raster map (image fft, imaginary part)|False
6+
OutputRaster|output_image|Name for output raster map
7+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
i.rgb.his
2+
i.rgb.his - Transforms raster maps from RGB (Red-Green-Blue) color space to HIS (Hue-Intensity-Saturation) color space.
3+
Imagery (i.*)
4+
ParameterRaster|red_output|Name for input raster map (red)
5+
ParameterRaster|green_output|Name for input raster map (green)
6+
ParameterRaster|blue_output|Name for input raster map (blue)
7+
OutputRaster|hue_input|Name of output raster map (hue)|False
8+
OutputRaster|intensity_input|Name of output raster map (intensity)|False
9+
OutputRaster|saturation_input|Name of output raster map (saturation)|False
+9-9
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
i.zc
2-
Zero-crossing "edge detection"
3-
Imagery (i.*)
4-
ParameterRaster|input|Name of input raster map|False
5-
ParameterNumber|width|x-y extent of the Gaussian filter|1|None|9
6-
ParameterNumber|threshold|Sensitivity of Gaussian filter|0|None|10.0
7-
ParameterNumber|orientations|Number of azimuth directions categorized|0|None|1
8-
OutputRaster|output|Zero crossing raster map
9-
1+
i.zc
2+
i.zc - Zero-crossing "edge detection" raster function for image processing.
3+
Imagery (i.*)
4+
ParameterRaster|input|Name of input raster map|False
5+
ParameterNumber|width|x-y extent of the Gaussian filter|1|None|9
6+
ParameterNumber|threshold|Sensitivity of Gaussian filter|0|None|10.0
7+
ParameterNumber|orientations|Number of azimuth directions categorized|0|None|1
8+
OutputRaster|output|Zero crossing raster map
9+
+8-8
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
nviz
2-
nviz
3-
Visualization(NVIZ)
4-
ParameterMultipleInput|elevation|Name of elevation raster map|3|False
5-
ParameterMultipleInput|color|Name of raster map(s) for Color|-1|False
6-
ParameterMultipleInput|vector|Name of vector lines/areas overlay map(s)|-1|False
7-
ParameterMultipleInput|point|Name of vector points overlay file(s)|-1|False
8-
ParameterMultipleInput|volume|Name of existing 3d raster map|-1|False
1+
nviz
2+
nviz - Visualization and animation tool for GRASS data.
3+
Visualization(NVIZ)
4+
ParameterMultipleInput|elevation|Name of elevation raster map|3|False
5+
ParameterMultipleInput|color|Name of raster map(s) for Color|-1|False
6+
ParameterMultipleInput|vector|Name of vector lines/areas overlay map(s)|-1|False
7+
ParameterMultipleInput|point|Name of vector points overlay file(s)|-1|False
8+
ParameterMultipleInput|volume|Name of existing 3d raster map|-1|False

src/sextante/grass/description/r.average.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
r.average
2-
r.average
2+
r.average - Finds the average of values in a cover map within areas assigned the same category value in a user-specified base map.
33
Raster (r.*)
44
ParameterRaster|base|Name of base raster map|False
55
ParameterRaster|cover|Name of cover raster map|False

src/sextante/grass/description/r.basins.fill.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
r.basins.fill
2-
r.basins.fill
2+
r.basins.fill - Generates watershed subbasins raster map.
33
Raster (r.*)
44
ParameterRaster|c_map|Name of input coded stream network raster map|False
55
ParameterRaster|t_map|Name of input thinned ridge network raster map|False

src/sextante/grass/description/r.bilinear.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
r.bilinear
2-
r.bilinear
2+
r.bilinear - Bilinear interpolation utility for raster map layers.
33
Raster (r.*)
44
ParameterRaster|input|Name of input raster map|False
55
ParameterNumber|north|Specific input value to be assigned to the north and/or south poles for longitude-latitude grids|None|None|0

src/sextante/grass/description/r.bitpattern.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
r.bitpattern
2-
r.bitpattern
2+
r.bitpattern - Compares bit patterns with a raster map.
33
Raster (r.*)
44
ParameterRaster|input|Name of input raster map|False
55
ParameterString|pattern|Bit pattern position(s)|

src/sextante/grass/description/r.buffer.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
r.buffer
2-
r.buffer
2+
r.buffer - Creates a raster map layer showing buffer zones surrounding cells that contain non-NULL category values.
33
Raster (r.*)
44
ParameterRaster|input|Name of input raster map|False
55
ParameterString|distances|Distance zone(s) (e.g. 100,200,300)|

src/sextante/grass/description/r.carve.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
r.carve
2-
r.carve
2+
r.carve - Takes vector stream data, transforms it to raster and subtracts depth from the output DEM.
33
Raster (r.*)
44
ParameterRaster|rast|Name of input raster elevation map|False
55
ParameterVector|vect|Name of vector input map containing stream(s)|1|False

src/sextante/grass/description/r.circle.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
r.circle
2-
r.circle
2+
r.circle - Creates a raster map containing concentric rings around a given point.
33
Raster (r.*)
44
ParameterString|coordinate|The coordinate of the center (east,north)|0,0
55
ParameterNumber|min|Minimum radius for ring/circle map (in meters)|None|None|10

src/sextante/grass/description/r.clump.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
r.clump
2-
r.clump
2+
r.clump - Recategorizes data in a raster map by grouping cells that form physically discrete areas into unique categories.
33
Raster (r.*)
44
ParameterRaster|input|Name of input raster map|False
55
ParameterString|title|Title for output raster map|

src/sextante/grass/description/r.coin.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
r.coin
2-
r.coin
2+
r.coin - Tabulates the mutual occurrence (coincidence) of categories for two raster map layers.
33
Raster (r.*)
44
ParameterRaster|map1|Name of first raster map|False
55
ParameterRaster|map2|Name of second raster map|False

src/sextante/grass/description/r.colors.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
r.colors
2-
r.colors
2+
r.colors - Creates/modifies the color table associated with a raster map layer.
33
Raster (r.*)
44
ParameterRaster|map|Name of input raster map|False
55
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

src/sextante/grass/description/r.composite.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
r.composite
2-
r.composite
2+
r.composite - Combines red, green and blue raster maps into a single composite raster map.
33
Raster (r.*)
44
ParameterRaster|red|Name of raster map to be used for <red>|False
55
ParameterRaster|green|Name of raster map to be used for <green>|False

src/sextante/grass/description/r.contour.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
r.contour
2-
r.contour
2+
r.contour - Produces a vector map of specified contours from a raster map.
33
Raster (r.*)
44
ParameterRaster|input|Name of input raster map|False
55
ParameterString|levels|List of contour levels|

src/sextante/grass/description/r.cost.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
r.cost
2-
r.cost
2+
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.
33
Raster (r.*)
44
ParameterRaster|input|Name of raster map containing grid cell cost information|False
55
ParameterVector|start_points|Name of starting vector points map|0|False
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
r.covar
2-
r.covar
2+
r.covar - Outputs a covariance/correlation matrix for user-specified raster map layer(s).
33
Raster (r.*)
44
ParameterMultipleInput|map|Name of input raster map(s)|3.0|False
55
ParameterBoolean|-r|Print correlation matrix|True

src/sextante/grass/description/r.cross.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
r.cross
2-
r.cross
2+
r.cross - Creates a cross product of the category values from multiple raster map layers.
33
Raster (r.*)
44
ParameterMultipleInput|input|Names of 2-30 input raster maps|3.0|False
55
ParameterBoolean|-z|Non-zero data only|False

src/sextante/grass/description/r.cva.txt

-33
This file was deleted.

src/sextante/grass/description/r.describe.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
r.describe
2-
r.describe
2+
r.describe - Prints terse list of category values found in a raster map layer.
33
Raster (r.*)
44
ParameterRaster|map|Name of input raster map|False
55
ParameterString|nv|String representing no data cell value|*

src/sextante/grass/description/r.distance.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
r.distance
2-
r.distance
2+
r.distance - Locates the closest points between objects in two raster maps.
33
Raster (r.*)
44
ParameterRaster|maps|Maps for computing inter-class distances|False
55
ParameterString|fs|Output field separator|:

src/sextante/grass/description/r.drain.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
r.drain
2-
r.drain
2+
r.drain - Traces a flow through an elevation model on a raster map.
33
Raster (r.*)
44
ParameterRaster|input|Name of elevation raster map|False
55
ParameterString|coordinate|Map coordinates of starting point(s) (E,N)|

src/sextante/grass/description/r.fill.dir.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
r.fill.dir
2-
r.fill.dir
2+
r.fill.dir - Filters and generates a depressionless elevation map and a flow direction map from a given elevation raster map.
33
Raster (r.*)
44
ParameterRaster|input|Name of existing raster map containing elevation surface|False
55
ParameterSelection|type|Output aspect direction format|grass;agnps;answers

src/sextante/grass/description/r.fillnulls.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
r.fillnulls
2-
r.fillnulls
2+
r.fillnulls - Fills no-data areas in raster maps using v.surf.rst splines interpolation or v.surf.bspline interpolation
33
Raster (r.*)
44
ParameterRaster|input|Name of input raster map in which to fill nulls|False
55
ParameterNumber|tension|Spline tension parameter|None|None|40.0

src/sextante/grass/description/r.flow.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
r.flow
2-
r.flow
2+
r.flow - Construction of slope curves (flowlines), flowpath lengths, and flowline densities (upslope areas) from a raster digital elevation model (DEM).
33
Raster (r.*)
44
ParameterRaster|elevin|Input elevation raster map|False
55
ParameterRaster|aspin|Input aspect raster map|False

src/sextante/grass/description/r.grow.distance.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
r.grow.distance
2-
r.grow.distance
2+
r.grow.distance - Generates a raster map layer of distance to features in input layer.
33
Raster (r.*)
44
ParameterRaster|input|Name of input raster map|False
55
ParameterSelection|metric|Metric|euclidean;squared;maximum;manhattan

src/sextante/grass/description/r.grow.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
r.grow
2-
r.grow
2+
r.grow - Generates a raster map layer with contiguous areas grown by one cell.
33
Raster (r.*)
44
ParameterRaster|input|Name of input raster map|False
55
ParameterNumber|radius|Radius of buffer in raster cells|None|None|1.01

src/sextante/grass/description/r.gwflow.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
r.gwflow
2-
r.gwflow
2+
r.gwflow - Numerical calculation program for transient, confined and unconfined groundwater flow in two dimensions.
33
Raster (r.*)
44
ParameterString|phead|The initial piezometric head in [m]|
55
ParameterString|status|Boundary condition status, 0-inactive, 1-active, 2-dirichlet|

src/sextante/grass/description/r.his.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
r.his
2-
r.his
2+
r.his - Generates red, green and blue raster map layers combining hue, intensity and saturation (HIS) values from user-specified input raster map layers.
33
Raster (r.*)
44
ParameterRaster|h_map|Name of layer to be used for HUE|False
55
ParameterRaster|i_map|Name of layer to be used for INTENSITY|False

src/sextante/grass/description/r.horizon.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
r.horizon
2-
r.horizon
2+
r.horizon - Horizon angle computation from a digital elevation model.
33
Raster (r.*)
44
ParameterRaster|elevin|Name of the input elevation raster map [meters]|False
55
ParameterNumber|direction|Direction in which you want to know the horizon height|None|None|0.0

src/sextante/grass/description/r.info.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
r.info
2-
r.info
2+
r.info - Output basic information about a raster map layer.
33
Raster (r.*)
44
ParameterRaster|map|Name of input raster map|False
55
ParameterBoolean|-r|Print range only|False

src/sextante/grass/description/r.kappa.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
r.kappa
2-
r.kappa
2+
r.kappa - Calculate error matrix and kappa parameter for accuracy assessment of classification result.
33
Raster (r.*)
44
ParameterRaster|classification|Name of raster map containing classification result|False
55
ParameterRaster|reference|Name of raster map containing reference classes|False

src/sextante/grass/description/r.lake.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
r.lake
2-
r.lake
2+
r.lake - Fills lake at given point to given level.
33
Raster (r.*)
44
ParameterRaster|dem|Name of terrain raster map (DEM)|False
55
ParameterString|wl|Water level|

src/sextante/grass/description/r.los.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
r.los
2-
r.los
2+
r.los - Line-of-sight raster analysis program.
33
Raster (r.*)
44
ParameterRaster|input|Name of elevation raster map|False
55
ParameterString|coordinate|Coordinate identifying the viewing position|0,0

src/sextante/grass/description/r.mapcalculator.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
r.mapcalculator
2-
r.mapcalculator
2+
r.mapcalculator - Calculate new raster map from a r.mapcalc expression.
33
Raster (r.*)
44
ParameterRaster|amap|amap|False
55
ParameterRaster|bmap|bmap|False

src/sextante/grass/description/r.median.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
r.median
2-
r.median
2+
r.median - Finds the median of values in a cover map within areas assigned the same category value in a user-specified base map.
33
Raster (r.*)
44
ParameterRaster|base|Name of base raster map|False
55
ParameterRaster|cover|Name of cover raster map|False

0 commit comments

Comments
 (0)