Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[processing] Add r.geomorphon grass command and module in grass core …
…plugin (#9625) * Create r.geomorphon.qgm * Add files via upload * Update default.qgc * Create r.geomorphon.txt Adding the description file to add the `r.geomorphon` command into `QGIS.Processing.GRASS` * Update grass7_algorithms_raster_tests.yaml Adding test for `r.geomorphon` * fixing wrong spelling thanks trevis * Update grass7_algorithms_raster_tests.yaml adding corrected unit test * Create r.geomorphon.qgm * Add files via upload * Update default.qgc * Create r.geomorphon.txt Adding the description file to add the `r.geomorphon` command into `QGIS.Processing.GRASS` * Update grass7_algorithms_raster_tests.yaml Adding test for `r.geomorphon` * fixing wrong spelling thanks trevis * Delete CTestCostData.txt * Delete CTestCostData.txt * Delete CTestCostData.txt * Delete CTestCostData.txt
- Loading branch information
Showing
6 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
python/plugins/processing/algs/grass7/description/r.geomorphon.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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
r.geomorphon | ||
Calculates geomorphons (terrain forms) and associated geometry using machine vision approach. | ||
Raster (r.*) | ||
QgsProcessingParameterRasterLayer|elevation|Name of input elevation raster map|None|False | ||
QgsProcessingParameterNumber|search|Outer search radius|QgsProcessingParameterNumber.Integer|3|True|3|499 | ||
QgsProcessingParameterNumber|skip|Inner search radius|QgsProcessingParameterNumber.Integer|0|True|0|499 | ||
QgsProcessingParameterNumber|flat|Flatenss threshold (degrees)|QgsProcessingParameterNumber.Double|1.0|True|None|None | ||
QgsProcessingParameterNumber|dist|Flatenss distance, zero for none|QgsProcessingParameterNumber.Double|0.0|True|None|None | ||
QgsProcessingParameterRasterDestination|forms|Most common geomorphic forms | ||
*QgsProcessingParameterBoolean|-m|Use meters to define search units (default is cells)|False | ||
*QgsProcessingParameterBoolean|-e|Use extended form correction|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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,11 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE qgisgrassmodule SYSTEM "http://mrcc.com/qgisgrassmodule.dtd"> | ||
|
||
<qgisgrassmodule label="Calculates geomorphons (terrain forms) and associated geometry using machine vision approach" module="r.geomorphon"> | ||
<option key="elevation" answer="" hidden="no"/> | ||
<option key="forms" answer="" hidden="no"/> | ||
<option key="search" answer="" hidden="no"/> | ||
<option key="skip" answer="" hidden="no"/> | ||
<option key="flat" answer="" hidden="no"/> | ||
<option key="dist" answer="" hidden="no"/> | ||
</qgisgrassmodule> |