Is it possible to modify the following syntax somehow that it would be applicable in Field Calculator in QGIS? The input layer is point layer and I would like to do following calculations which I can't do in Excel due to large amount of data.
if( "VALUE1" < 0.01, 2,
if( AND( "VALUE1" >= 0.01, "VALUE1" < 0.1 ), 3,
if( OR( "VALUE1" >= 0.1, "VALUE2" >= 2 ), 4, 0 )
)
)
Any ideas?
if
,and
andor
is absolutely wrong.