qgis_path function

Get metadata about the used 'qgis_process' command

Get metadata about the used 'qgis_process' command

qgis_path() returns the filepath of the 'qgis_process' command, while qgis_version() returns the QGIS version.

qgis_path(query = FALSE, quiet = TRUE) qgis_version(query = FALSE, quiet = TRUE, full = TRUE, debug = FALSE)

Arguments

  • query: Use TRUE to refresh the cached value.
  • quiet: Use FALSE to display more information, possibly useful for debugging.
  • full: Logical. If FALSE, only return the "x.y.z" version string instead of the full version string that includes the name. Defaults to TRUE; ignored if debug = TRUE.
  • debug: Logical. If TRUE, also output the version of QGIS, the operating system and all relevant libraries, as reported by the 'qgis_process' command.

Returns

A string.

Examples

qgis_path() qgis_path(quiet = FALSE) qgis_version() qgis_version(full = FALSE) qgis_version(debug = TRUE)

See Also

qgis_configure()

Other topics about reporting the QGIS state: has_qgis(), qgis_algorithms(), qgis_using_json_input()