QGIS Algorithm provided by QGIS (native c++) Create layer from point (native:pointtolayer). This algorithm creates a new vector layer that contains a single feature with geometry matching a point parameter. It can be used in models to convert a point into a layer which can be used for other algorithms which require a layer based input.
qgis_pointtolayer(
INPUT = qgisprocess:::qgis_default_value(),
OUTPUT = qgisprocess:::qgis_default_value(),
...,
.complete_output = .complete_output_option(),
.quiet = .quiet_option(),
.messages = .message_option()
)
point
- Point. Point coordinate as an 'x,y' string, e.g. '1.5,10.1'.
sink
- Point. 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
.