For use in models it is sometimes useful to generate a boolean output from a processing script. Since boolean is not available as output, what would be a good workaround ? I am simply using string as output type: output=str(False) but then the receiving script has to work a bit on that input and it is awkward to type 'True' if the input script is used standalone.
Of course, the real question is why boolean is not offered as output type ? To me it would be useful. Andreas -- Andreas Plesch 39 Barbara Rd. Waltham, MA 02453
_______________________________________________ QGIS-Developer mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
