r_package_qgis icon indicating copy to clipboard operation
r_package_qgis copied to clipboard

Handling .complete_output = FALSE

Open florisvdh opened this issue 2 years ago • 1 comments

Just want to share an idea here. I saw in a function's source:

@param .complete_output 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`.

Maybe the FALSE state can be handled in the way qgisprocess::qgis_result_single() does it? See https://github.com/paleolimbot/qgisprocess/pull/80/commits/f54fbc6f3fbc93f30ad86a63924d744e0f3a0b7a for implementation of this function in qgis_as_*() functions.

florisvdh avatar Feb 14 '23 16:02 florisvdh

It probably should be handled by the function that you mentioned. I believe that my solution predates the qgis_result_single()...will look into that and find out what is the better solution, for the use case that i had in mind

JanCaha avatar Feb 15 '23 22:02 JanCaha