Closed gavg712 closed 3 years ago
Looking good to me! Don't worry about the lint failures -- those aren't related to this change.
Lint issues are fixed in https://github.com/north-road/qgis-processing-r/pull/97
I hope you don't find it a problem, I added in this same PR the code for datetime input (template, algorithm and unittest, ready today)
Looking great @gavg712, thanks so much for these valuable improvements! One last request -- can you update the documentation in https://github.com/north-road/qgis-processing-r/blob/master/website/pages/script-syntax.md to add the new parameter types too?
Ready to edit the Script syntax on the web. I added a bit more than required to included more parameters not mentioned in previous edits.
In a last look on the behavior of the inputs, I took some notes on the crs
, multiple
and distance
inputs in this link. However I did not make any changes to the code. If you like to discuss about, I could create a new issue for this.
@gavg712
ahh -- there's a "withopacity" part of the parameter definition you'd need to add:
##Color=color withopacity #FF0000
My apologies. It is now corrected!
Great, thank you!!
Dear @nyalldawson and others.
This is a proposal to add QgsProcessingParameterRange and QgsProcessingParameterColor as inputs in a Rscript. Please take a look at it.
Cheers