View source: R/qgis-function.R
qgis_run_algorithm_p | R Documentation |
qgis_run_algorithm_p()
wraps qgis_run_algorithm()
, passing
its first argument to the first argument of the QGIS algorithm
.
This makes it more convenient in a pipeline (hence '_p' in the name).
qgis_run_algorithm_p(
.data,
algorithm,
...,
.select = "OUTPUT",
.clean = TRUE,
.quiet = TRUE
)
.data |
Passed to the first input of |
algorithm |
A qualified algorithm name
(e.g., |
... |
Other algorithm arguments.
These values are evaluated once and immediately, so you shouldn't
call |
.select |
String.
The name of the element to select from |
.clean |
Logical.
Should an incoming |
.quiet |
Use |
Uses qgis_function()
under the hood.
A qgis_result
object.
Other functions to run one geoprocessing algorithm:
qgis_run_algorithm()
system.file(
"longlake/longlake_depth.gpkg",
package = "qgisprocess"
) |>
qgis_run_algorithm_p(
"native:buffer",
DISTANCE = 10
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.