QGIS Algorithm provided by QGIS (native c++) Fill sinks (Wang & Liu) (native:fillsinkswangliu). Identifies and fills surface depressions in digital elevation models using a method proposed by Wang & Liu. This algorithm uses a method proposed by Wang & Liu to identify and fill surface depressions in digital elevation models. The method was enhanced to allow the creation of hydrologically sound elevation models, i.e. not only to fill the depression(s) but also to preserve a downward slope along the flow path. If desired, this is accomplished by preserving a minimum slope gradient (and thus elevation difference) between cells. References: Wang, L. & H. Liu (2006): An efficient method for identifying and filling surface depressions in digital elevation models for hydrologic analysis and modelling. International Journal of Geographical Information Science, Vol. 20, No. 2: 193-213. This algorithm is a port of the SAGA 'Fill Sinks (Wang & Liu)' tool.
qgis_fillsinkswangliu(
INPUT = qgisprocess:::qgis_default_value(),
BAND = qgisprocess:::qgis_default_value(),
MIN_SLOPE = qgisprocess:::qgis_default_value(),
CREATION_OPTIONS = qgisprocess:::qgis_default_value(),
OUTPUT_FILLED_DEM = qgisprocess:::qgis_default_value(),
OUTPUT_FLOW_DIRECTIONS = qgisprocess:::qgis_default_value(),
OUTPUT_WATERSHED_BASINS = qgisprocess:::qgis_default_value(),
...,
.complete_output = .complete_output_option(),
.quiet = .quiet_option(),
.messages = .message_option()
)
raster
- Input layer. Path to a raster layer.
band
- Band number. Integer value representing an existing raster band number.
number
- Minimum slope (degrees). A numeric value. field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field. expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression.
string
- Creation options. String value. field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field. expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression.
rasterDestination
- Output layer (filled DEM). Path for new raster layer.
rasterDestination
- Output layer (flow directions). Path for new raster layer.
rasterDestination
- Output layer (watershed basins). Path for new raster layer.
further parameters passed to qgisprocess::qgis_run_algorithm()
logical specifying if complete out of qgisprocess::qgis_run_algorithm()
should be used (TRUE
) or first output (most likely the main) should read (FALSE
). Default value is TRUE
.
logical specifying if parameter .quiet
for qgisprocess::qgis_run_algorithm()
Default value is TRUE
.
logical specifying if messages from qgisprocess::qgis_run_algorithm()
should be printed (TRUE
) or not (FALSE
). Default value is FALSE
.