Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
edited grass and saga algorithm descriptions
- Loading branch information
Showing
20 changed files
with
114 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,10 @@ | ||
r.horizon | ||
r.horizon - Horizon angle computation from a digital elevation model. | ||
Raster (r.*) | ||
ParameterRaster|elevin|Name of the input elevation raster map [meters]|False | ||
ParameterNumber|direction|Direction in which you want to know the horizon height|None|None|0.0 | ||
ParameterNumber|horizonstep|Angle step size for multidirectional horizon [degrees]|None|None|0.0 | ||
ParameterNumber|bufferzone|For horizon rasters, read from the DEM an extra buffer around the present region|None|None|0.0 | ||
ParameterNumber|e_buff|For horizon rasters, read from the DEM an extra buffer eastward the present region|None|None|0.0 | ||
ParameterNumber|w_buff|For horizon rasters, read from the DEM an extra buffer westward the present region|None|None|0.0 | ||
ParameterNumber|n_buff|For horizon rasters, read from the DEM an extra buffer northward the present region|None|None|0.0 | ||
ParameterNumber|s_buff|For horizon rasters, read from the DEM an extra buffer southward the present region|None|None|0.0 | ||
ParameterNumber|maxdistance|The maximum distance to consider when finding the horizon height|None|None|0.0 | ||
ParameterRaster|horizon|Prefix of the horizon raster output maps|False | ||
ParameterString|coord|Coordinate for which you want to calculate the horizon|0,0 | ||
ParameterRaster|elevin|Elevation layer [meters]|False | ||
ParameterNumber|direction|Direction in which you want to know the horizon height|0|360|0.0 | ||
ParameterNumber|horizonstep|Angle step size for multidirectional horizon [degrees]|0|360|0.0 | ||
ParameterNumber|maxdistance|The maximum distance to consider when finding the horizon height|0|None|10000 | ||
ParameterCoodinate|coord|Coordinate for which you want to calculate the horizon|0,0 | ||
ParameterString|dist|Sampling distance step coefficient (0.5-1.5)|1.0 | ||
ParameterBoolean|-d|Write output in degrees (default is radians)|False |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
r.mfilter.fp | ||
r.mfilter.fp - Raster map matrix filter. | ||
Raster (r.*) | ||
ParameterRaster|input|Name of input raster map|False | ||
ParameterRaster|input|input layer|False | ||
ParameterFile|filter|Filter file|False | ||
ParameterNumber|repeat|Number of times to repeat the filter|None|None|1 | ||
ParameterString|title|Output raster map title| | ||
ParameterNumber|repeat|Number of times to repeat the filter|1|None|1 | ||
ParameterBoolean|-z|Apply filter only to zero data values|False | ||
OutputRaster|output|Name for output raster map | ||
OutputRaster|output|Output layer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
r.mfilter | ||
r.mfilter - Performs raster map matrix filter. | ||
Raster (r.*) | ||
ParameterRaster|input|Name of input raster map|False | ||
ParameterRaster|input|Input layer|False | ||
ParameterFile|filter|Filter file|False | ||
ParameterNumber|repeat|Number of times to repeat the filter|None|None|1 | ||
ParameterString|title|Output raster map title| | ||
ParameterNumber|repeat|Number of times to repeat the filter|1|None|1 | ||
ParameterBoolean|-z|Apply filter only to zero data values|False | ||
OutputRaster|output|Name for output raster map | ||
OutputRaster|output|Output layer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
r.mode | ||
r.mode - Finds the mode of values in a cover map within areas assigned the same category value in a user-specified base map. | ||
Raster (r.*) | ||
ParameterRaster|base|Base map to be reclassified|False | ||
ParameterRaster|cover|Name of cover raster map|False | ||
OutputRaster|output|Name for output raster map | ||
ParameterRaster|base|Base layer to be reclassified|False | ||
ParameterRaster|cover|Categories layer|False | ||
OutputRaster|output|Output layer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
r.patch | ||
r.patch - Creates a composite raster map layer by using one (or more) map layer(s) to fill in areas of "no data" in another map layer. | ||
Raster (r.*) | ||
ParameterMultipleInput|input|Name of raster maps to be patched together|3|False | ||
ParameterMultipleInput|input|Raster maps to be patched together|3|False | ||
ParameterBoolean|-z|Use zero (0) for transparency instead of NULL|False | ||
OutputRaster|output|Name for resultant raster map | ||
OutputRaster|output|Result |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
r.plane | ||
r.plane - Creates raster plane map given dip (inclination), aspect (azimuth) and one point. | ||
Raster (r.*) | ||
|
||
ParameterNumber|dip|Dip of plane. Value must be between -90 and 90 degrees|None|None|0.0 | ||
ParameterNumber|azimuth|Azimuth of the plane. Value must be between 0 and 360 degrees|None|None|0.0 | ||
ParameterNumber|easting|Easting coordinate of a point on the plane|None|None|0.0 | ||
ParameterNumber|northing|Northing coordinate of a point on the plane|None|None|0.0 | ||
ParameterNumber|elevation|Name of elevation raster map|None|None|0.0 | ||
ParameterSelection|type|Type of the raster map to be created|int;float;double | ||
OutputRaster|name|Name of raster plane to be created | ||
ParameterNumber|elevation|Elevation coordinate of a point on the plane|None|None|0.0 | ||
ParameterSelection|type|Data type of resulting layer|int;float;double | ||
OutputRaster|name|Output raster layer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
r.profile | ||
r.profile - Outputs the raster map layer values lying on user-defined line(s). | ||
r.profile - Outputs the raster layer values lying on user-defined line(s). | ||
Raster (r.*) | ||
ParameterRaster|input|Name of input raster map|False | ||
ParameterString|profile|Profile coordinate pairs| | ||
ParameterString|res|Resolution along profile (default = current region resolution)| | ||
ParameterRaster|input|Input raster layer|False | ||
ParameterString|profile|Profile coordinate pairs|0,0,1,1 | ||
ParameterNumber|res|Resolution along profile|0|None|1.0 | ||
ParameterString|null|Character to represent no data cell|* | ||
ParameterBoolean|-i|Interactively select End-Points|False | ||
ParameterBoolean|-g|Output easting and northing in first two columns of four column output|False | ||
ParameterBoolean|-c|Output RRR:GGG:BBB color values for each profile point|False | ||
OutputFile|output|Name of file for output (use output=- for stdout) | ||
OutputFile|output|Output filename |
7 changes: 3 additions & 4 deletions
7
python/plugins/sextante/grass/description/r.regression.line.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
r.regression.line | ||
r.regression.line - Calculates linear regression from two raster maps: y = a + b*x. | ||
r.regression.line - Calculates linear regression from two raster layers : y = a + b*x. | ||
Raster (r.*) | ||
ParameterRaster|map1|Map for x coefficient|False | ||
ParameterRaster|map2|Map for y coefficient|False | ||
ParameterBoolean|-g|Print in shell script style|False | ||
ParameterBoolean|-s|Slower but accurate (applies to FP maps only)|False | ||
OutputFile|output|ASCII file for storing regression coefficients (output to screen if file not specified) | ||
ParameterBoolean|-s|Slower but accurate|False | ||
OutputHTML|html|Regression data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
""" | ||
*************************************************************************** | ||
r_info.py | ||
--------------------- | ||
Date : December 2012 | ||
Copyright : (C) 2012 by Victor Olaya | ||
Email : volayaf at gmail dot com | ||
*************************************************************************** | ||
* * | ||
* This program is free software; you can redistribute it and/or modify * | ||
* it under the terms of the GNU General Public License as published by * | ||
* the Free Software Foundation; either version 2 of the License, or * | ||
* (at your option) any later version. * | ||
* * | ||
*************************************************************************** | ||
""" | ||
__author__ = 'Victor Olaya' | ||
__date__ = 'December 2012' | ||
__copyright__ = '(C) 2012, Victor Olaya' | ||
# This will get replaced with a git SHA1 when you do a git archive | ||
__revision__ = '$Format:%H$' | ||
|
||
def postProcessResults(alg): | ||
htmlFile = alg.getOutputFromName('html').value | ||
found = False | ||
f = open(htmlFile, "w") | ||
f.write("<h2>r.info</h2>\n") | ||
for line in alg.consoleOutput: | ||
if found and not line.strip().endswith('exit'): | ||
f.write(line + "<br>\n") | ||
if 'r.info' in line: | ||
found = True | ||
f.close() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
""" | ||
*************************************************************************** | ||
r_regression_line.py | ||
--------------------- | ||
Date : December 2012 | ||
Copyright : (C) 2012 by Victor Olaya | ||
Email : volayaf at gmail dot com | ||
*************************************************************************** | ||
* * | ||
* This program is free software; you can redistribute it and/or modify * | ||
* it under the terms of the GNU General Public License as published by * | ||
* the Free Software Foundation; either version 2 of the License, or * | ||
* (at your option) any later version. * | ||
* * | ||
*************************************************************************** | ||
""" | ||
__author__ = 'Victor Olaya' | ||
__date__ = 'December 2012' | ||
__copyright__ = '(C) 2012, Victor Olaya' | ||
# This will get replaced with a git SHA1 when you do a git archive | ||
__revision__ = '$Format:%H$' | ||
|
||
def postProcessResults(alg): | ||
htmlFile = alg.getOutputFromName('html').value | ||
found = False | ||
f = open(htmlFile, "w") | ||
f.write("<h2>r.regresion.line</h2>\n") | ||
for line in alg.consoleOutput: | ||
if found and not line.strip().endswith('exit'): | ||
f.write(line + "<br>\n") | ||
if 'r.regression.line' in line: | ||
found = True | ||
f.close() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,4 +33,4 @@ def postProcessResults(alg): | |
if 'v.info' in line: | ||
found = True | ||
f.close() | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
8 changes: 0 additions & 8 deletions
8
python/plugins/sextante/saga/description/JoinAttributesfromaTable(Shapes).txt
This file was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
python/plugins/sextante/saga/description/JoinAttributesfromaTable.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
Join Attributes from a Table | ||
table_tools | ||
ParameterTable|TABLE_A|Table|False | ||
ParameterVector|TABLE_A|Shapes|-1|False | ||
ParameterTable|TABLE_B|Join Table|False | ||
ParameterTableField|ID_A|Attribute (Table)|TABLE_A | ||
ParameterTableField|ID_B|Attribute (Join Table)|TABLE_B | ||
ParameterBoolean|KEEPALL |Keep All|True | ||
OutputTable|RESULT|Result | ||
OutputVector|RESULT|Result |