[Qgis-user] Python Scripts (Boolean) in QGIS 3

2019-03-12 Thread Herbert Lincon
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

Re: [Qgis-user] Python Scripts (Boolean) in QGIS 3

2019-03-12 Thread Stefan Giese (WhereGroup)
Hi Herbert, with processing scripts ist has defintitly changed a lot. The thing is, that in QGIS 2.18 it was python but mixed with some none python, like the parameter with the double pound sign...like ##my_parameter=boolean so a good starting point is the blog from Anita Graser, since the do

Re: [Qgis-user] Python Scripts (Boolean) in QGIS 3

2019-03-12 Thread Herbert Lincon
Thanks Stefan, I´ll take a look and try some new scripts De: Stefan Giese (WhereGroup) Enviado: terça-feira, 12 de março de 2019 10:05 Para: Herbert Lincon Cc: qgis-user@lists.osgeo.org Assunto: Re: [Qgis-user] Python Scripts (Boolean) in QGIS 3 Hi Herbert