qgis_using_json_input | R Documentation |
Returns a logical that reveals whether the JSON input and output methods are used, respectively.
qgis_using_json_input()
qgis_using_json_output(query = FALSE, quiet = TRUE)
query |
Use |
quiet |
Use |
Since QGIS 3.24 the JSON input method of 'qgis_process' is used by default
when calling the command.
It allows for more complex input argument types in certain algorithms that
require a more complex input argument, e.g. a list of lists (see
qgis_list_input()
).
Likewise, JSON output is the default output format requested from 'qgis_process'.
The settings can be overruled with the options
qgisprocess.use_json_input
or qgisprocess.use_json_output
, and with the
environment variables R_QGISPROCESS_USE_JSON_INPUT
or
R_QGISPROCESS_USE_JSON_OUTPUT.
Since the JSON output method is cached by the package,
qgis_using_json_output(query = TRUE)
is needed for these settings to take
effect if the package was loaded already.
A logical of length 1.
Other topics about programming or debugging utilities:
qgis_result_status()
,
qgis_run()
,
qgis_tmp_file()
,
qgis_unconfigure()
Other topics about reporting the QGIS state:
has_qgis()
,
qgis_algorithms()
,
qgis_path()
qgis_using_json_input()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.