[Qgis-developer] raster calculator: invalid expression?
Marco Hugentobler
marco.hugentobler at sourcepole.ch
Wed Mar 16 09:31:57 EDT 2011
Hi Paolo
Because there is no unary minus in the raster calc grammar yet
(%left UMINUS // fictitious symbol (for unary minus) ).
As a workaround, (diff at 1)* (0-1) should be ok.
Please fill a bug.
Regards,
Marco
Am Mittwoch, 16. März 2011, um 14.21:10 schrieb Paolo Cavallini:
> Hi all.
> Why are these expressions invalid?
>
> (diff at 1)*-1
> (diff at 1)*(-1)
>
> All the best.
--
Dr. Marco Hugentobler
Sourcepole - Linux & Open Source Solutions
Churerstrasse 22, CH-8808 Pfäffikon SZ, Switzerland
marco.hugentobler at sourcepole.ch http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee
More information about the Qgis-developer
mailing list