QGIS Algorithm provided by QGIS (native c++) Create layer from extent (native:extenttolayer). Creates a vector layer that contains a single feature with geometry matching an extent parameter. This algorithm creates a new vector layer that contains a single feature with geometry matching an extent parameter. It can be used in models to convert an extent into a layer which can be used for other algorithms which require a layer based input.
qgis_extenttolayer(
INPUT = qgisprocess:::qgis_default_value(),
OUTPUT = qgisprocess:::qgis_default_value(),
...,
.complete_output = .complete_output_option(),
.quiet = .quiet_option(),
.messages = .message_option()
)extent - Extent. A comma delimited string of x min, x max, y min, y max. E.g. '4,10,101,105'. Path to a layer. The extent of the layer is used..
sink - Extent. Path for new vector 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.