[processing][grass] Fix r.stream.extract definition, resurrect test

This commit is contained in:
Nyall Dawson 2018-08-09 11:50:19 +10:00
parent e893aae190
commit 7495ec276e
2 changed files with 23 additions and 24 deletions

View File

@ -9,6 +9,6 @@ QgsProcessingParameterNumber|mexp|Montgomery exponent for slope|QgsProcessingPar
QgsProcessingParameterNumber|stream_length|Delete stream segments shorter than cells|QgsProcessingParameterNumber.Integer|0|True|0|None QgsProcessingParameterNumber|stream_length|Delete stream segments shorter than cells|QgsProcessingParameterNumber.Integer|0|True|0|None
QgsProcessingParameterNumber|d8cut|Use SFD above this threshold|QgsProcessingParameterNumber.Double|None|True|0|None QgsProcessingParameterNumber|d8cut|Use SFD above this threshold|QgsProcessingParameterNumber.Double|None|True|0|None
*QgsProcessingParameterNumber|memory|Maximum memory to be used (in MB)|QgsProcessingParameterNumber.Integer|300|True|0|None *QgsProcessingParameterNumber|memory|Maximum memory to be used (in MB)|QgsProcessingParameterNumber.Integer|300|True|0|None
QgsProcessingParameterRasterDestination|stream_raster|Unique stream ids (rast) QgsProcessingParameterRasterDestination|stream_raster|Unique stream ids (rast)|None|True
QgsProcessingParameterVectorDestination|stream_vector|Unique stream ids (vect) QgsProcessingParameterVectorDestination|stream_vector|Unique stream ids (vect)|-1|None|True
QgsProcessingParameterRasterDestination|direction|Flow direction QgsProcessingParameterRasterDestination|direction|Flow direction|None|True

View File

@ -1752,24 +1752,23 @@ tests:
# name: expected/grass7/r.transect.txt # name: expected/grass7/r.transect.txt
# type: file # type: file
# Differences between osgeo4travis and Debian Stretch - algorithm: grass7:r.stream.extract
# - algorithm: grass7:r.stream.extract name: GRASS7 r.stream.extract
# name: GRASS7 r.stream.extract params:
# params: GRASS_OUTPUT_TYPE_PARAMETER: '0'
# GRASS_OUTPUT_TYPE_PARAMETER: '0' GRASS_REGION_CELLSIZE_PARAMETER: 0.0
# GRASS_REGION_CELLSIZE_PARAMETER: 0.0 GRASS_REGION_PARAMETER: 344500.0,358400.0,6682800.0,6693700.0
# GRASS_REGION_PARAMETER: 344500.0,358400.0,6682800.0,6693700.0 d8cut: 0
# d8cut: 0 elevation:
# elevation: name: custom/grass7/float_raster.tif
# name: custom/grass7/float_raster.tif type: raster
# type: raster mexp: 0
# mexp: 0 stream_length: 0
# stream_length: 0 threshold: 1
# threshold: 1 results:
# results: direction:
# direction: hash: 8499f6e5f81d0b79a0483481b467263246e2c97f1ef652df90e773e2
# hash: 8499f6e5f81d0b79a0483481b467263246e2c97f1ef652df90e773e2 type: rasterhash
# type: rasterhash stream_raster:
# stream_raster: hash: 916672ce0c35295100bcdc56bc60e26841b9cbb384924ae4f54648a8
# hash: 916672ce0c35295100bcdc56bc60e26841b9cbb384924ae4f54648a8 type: rasterhash
# type: rasterhash