Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[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
with
44 additions
and 0 deletions.
- +11 −0 python/plugins/processing/algs/grass7/description/r.geomorphon.txt
- +21 −0 python/plugins/processing/tests/testdata/grass7_algorithms_raster_tests.yaml
- +1 −0 src/plugins/grass/modules/default.qgc
- BIN src/plugins/grass/modules/r.geomorphon.1.png
- BIN src/plugins/grass/modules/r.geomorphon.2.png
- +11 −0 src/plugins/grass/modules/r.geomorphon.qgm
@@ -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 |
Binary file not shown.
Binary file not shown.
@@ -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> |