QGIS Algorithm provided by QGIS (native c++) Update layer metadata (native:updatelayermetadata). Copies all non-empty metadata fields from one layer to another. This algorithm copies all non-empty metadata fields from a source layer to a target layer. Leaves empty input fields unchanged in the target.

qgis_updatelayermetadata(
  SOURCE = qgisprocess:::qgis_default_value(),
  TARGET = qgisprocess:::qgis_default_value(),
  ...,
  .complete_output = .complete_output_option(),
  .quiet = .quiet_option(),
  .messages = .message_option()
)

Arguments

SOURCE

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

TARGET

layer - Target layer. Path to a vector, raster or mesh 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

  • OUTPUT - outputLayer - Updated layer