-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3238 from medspx/processing_g7_raster_tests
[processing] more grass7 unit tests and their fixes
- Loading branch information
Showing
86 changed files
with
2,484 additions
and
106 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
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
8 changes: 4 additions & 4 deletions
8
python/plugins/processing/algs/grass7/description/r.aspect.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,9 +1,9 @@ | ||
r.slope.aspect | ||
r.aspect - Generates raster maps of aspect from a elevation raster map. | ||
r.aspect - Generates raster maps of aspect from an elevation raster map. | ||
Raster (r.*) | ||
ParameterRaster|elevation|Elevation|False | ||
ParameterSelection|precision|Data type|FCELL;CELL;DCELL | ||
ParameterBoolean|-a|Do not align the current region to the elevation layer|True | ||
ParameterNumber|zfactor|Multiplicative factor to convert elevation units to meters|None|None|1.0 | ||
ParameterSelection|precision|Data type|FCELL;CELL;DCELL|0 | ||
*ParameterBoolean|-a|Do not align the current region to the elevation layer|False | ||
ParameterNumber|zscale|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|Aspect |
6 changes: 5 additions & 1 deletion
6
python/plugins/processing/algs/grass7/description/r.fillnulls.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,7 +1,11 @@ | ||
r.fillnulls | ||
Fills no-data areas in a raster layer using v.surf.rst splines interpolation or v.surf.bspline interpolation | ||
Fills no-data areas in raster maps using spline interpolation. | ||
Raster (r.*) | ||
ParameterRaster|input|Input raster layer to fill|False | ||
ParameterSelection|method|Interpolation method to use|bilinear;bicubic;rst|2 | ||
ParameterNumber|tension|Spline tension parameter|None|None|40.0 | ||
ParameterNumber|smooth|Spline smoothing parameter|None|None|0.1 | ||
ParameterNumber|edge|Width of hole edge used for interpolation (in cells)|2|100|3|True | ||
ParameterNumber|npmin|Minimum number of points for approximation in a segment (>segmax)|2|10000|600|True | ||
ParameterNumber|segmax|Maximum number of points in a segment|2|10000|300|True | ||
OutputRaster|output|Filled |
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
8 changes: 4 additions & 4 deletions
8
python/plugins/processing/algs/grass7/description/r.slope.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,9 +1,9 @@ | ||
r.slope.aspect | ||
r.slope - Generates raster maps of slope from a elevation raster map. | ||
r.slope - Generates raster maps of slope from an elevation raster map. | ||
Raster (r.*) | ||
ParameterRaster|elevation|Elevation|False | ||
ParameterSelection|precision|Data type|FCELL;CELL;DCELL | ||
ParameterBoolean|-a|Do not align the current region to the elevation layer|True | ||
ParameterNumber|zfactor|Multiplicative factor to convert elevation units to meters|None|None|1.0 | ||
ParameterSelection|precision|Data type|FCELL;CELL;DCELL|0 | ||
*ParameterBoolean|-a|Do not align the current region to the elevation layer|False | ||
ParameterNumber|zscale|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|slope|Slope |
This file was deleted.
Oops, something went wrong.
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,7 +1,7 @@ | ||
r.volume | ||
Calculates the volume of data "clumps". | ||
Raster (r.*) | ||
ParameterRaster|data|Layer representing data that will be summed within clumps|False | ||
ParameterRaster|input|Name of input raster map representing data that will be summed within clumps|False | ||
ParameterRaster|clump|Clumps layer (preferably the output of r.clump)|False | ||
*ParameterBoolean|-f|Generate unformatted report|False | ||
OutputVector|centroids|Centroids |
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
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
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
Oops, something went wrong.