QGIS Algorithm provided by QGIS (native c++) Filter layers by type (native:filterlayersbytype). Filters layers by type This algorithm filters layer by their type. Incoming layers will be directed to different outputs based on whether they are a vector or raster layer.

qgis_filterlayersbytype(
  INPUT = qgisprocess:::qgis_default_value(),
  VECTOR = qgisprocess:::qgis_default_value(),
  RASTER = qgisprocess:::qgis_default_value(),
  ...,
  .complete_output = .complete_output_option(),
  .quiet = .quiet_option(),
  .messages = .message_option()
)

Arguments

INPUT

layer - Input layer. Path to a vector, raster or mesh layer.

VECTOR

vectorDestination - Vector features. Path for new vector layer.

RASTER

rasterDestination - Raster layer. Path for new raster layer.

...

further parameters passed to qgisprocess::qgis_run_algorithm()

.complete_output

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.

.quiet

logical specifying if parameter .quiet for qgisprocess::qgis_run_algorithm() Default value is TRUE.

.messages

logical specifying if messages from qgisprocess::qgis_run_algorithm() should be printed (TRUE) or not (FALSE). Default value is FALSE.

Details

Outputs description

  • RASTER - outputRaster - Raster layer

  • VECTOR - outputVector - Vector features