View source: R/qgis-run-algorithm.R
qgis_run_algorithm | R Documentation |
Runs an algorithm using 'qgis_process'. See the QGIS docs for a detailed description of the algorithms provided 'out of the box' on QGIS.
qgis_run_algorithm(
algorithm,
...,
PROJECT_PATH = NULL,
ELLIPSOID = NULL,
.raw_json_input = NULL,
.quiet = TRUE
)
algorithm |
A qualified algorithm name (e.g., |
... |
Named key-value pairs as arguments for the algorithm. Features of
|
PROJECT_PATH, ELLIPSOID |
Global values for QGIS project file and ellipsoid name for distance calculations. |
.raw_json_input |
The raw JSON to use as input in place of |
.quiet |
Use |
Other functions to run one geoprocessing algorithm:
qgis_run_algorithm_p()
if (has_qgis()) {
qgis_run_algorithm(
"native:buffer",
INPUT = system.file("longlake/longlake_depth.gpkg", package = "qgisprocess"),
DISTANCE = 10
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.