Hello everyone, I have a script in QGIS 2.18 to receive the information from 4 boolean options as simple as that
##formula_1=boolean ##formula_2=boolean ##formula_3=boolean ##formula_4=boolean ##result=output string if formula_1 == True: result= 1 elif formula_2 == True: result= 2 elif formula_3 == True: result= 3 elif formula_4 == True: result= 4 else: result= 5 the problem is, this type of script doesn´t work in QGIS 3, and I´m a newbie in Python, could someone translate that to the new method? it´ll help me even begin to understand python 3 Thanks Herbert Lincon
_______________________________________________ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user