QGIS Algorithm provided by QGIS (native c++) Copy layer metadata (native:copylayermetadata). Copies the metadata from one layer to another. This algorithm copies metadata from a source layer to a target layer. Any existing metadata in the target layer will be replaced.
qgis_copylayermetadata(
SOURCE = qgisprocess:::qgis_default_value(),
TARGET = qgisprocess:::qgis_default_value(),
DEFAULT = qgisprocess:::qgis_default_value(),
...,
.complete_output = .complete_output_option(),
.quiet = .quiet_option(),
.messages = .message_option()
)
layer
- Source layer. Path to a vector, raster or mesh layer.
layer
- Target layer. Path to a vector, raster or mesh layer.
boolean
- Save metadata as default. 1 for true/yes. 0 for false/no. 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.
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
.