Open qgib opened 10 years ago
Author Name: Giovanni Manghi (@gioman)
Author Name: Paolo Cavallini (@pcav)
Still true in QGIS 3.
@gioman I think this is fixed now, right?
@ghtmtt using the one in Processing a user is not prevented to run the raster calc even if the GUI shows that the formula is wrong. On the other hand using the one in the "raster menu" if the formula is wrong the "run" button is disabled.
Regardless both show a message (when the formula is wrong) so at least is partially fixed/implemented. I still wonder why having two implementations of the same tool, while the tendency has been to move all this type of tools to Processing only.
@ghtmtt using the one in Processing a user is not prevented to run the raster calc even if the GUI shows that the formula is wrong.
For the record, when running from processing toolbox I don't see any formula check - I presume that comment was prior to the rewrite of the raster calculator, and this is a "regression".
But either this or #55386 should probably be closed as a duplicate.
Author Name: Paolo Cavallini (@pcav) Original Redmine Issue: 11483
Redmine category:processing/core
It would be good to add a syntax checker for raster calculator, so the user is prevented before running a wrong formula. Please see the QGIS raster calc or the expression builder for examples. Aslo, a syntax highlight would be good to have.