Re: [Qgis-developer] Processing r.mapcalc: unclear syntax

2016-10-23 Thread Paolo Cavallini
Il 23/10/2016 10:44, Victor Olaya ha scritto: > mmm, but Paolo's call already contains dtm*2, not dtm2. That's why i > said that it looked correct to me. AFAICT the syntax is of the type dtm2=dtm*2 which I tested, and works. New description should help users, but the command is still very

Re: [Qgis-developer] Processing r.mapcalc: unclear syntax

2016-10-23 Thread Victor Olaya
mmm, but Paolo's call already contains dtm*2, not dtm2. That's why i said that it looked correct to me. 2016-10-23 7:46 GMT+02:00 Paolo Cavallini : > Il 23/10/2016 07:44, Paolo Cavallini ha scritto: > >> thanks for the clarification. Description improved in: >>

Re: [Qgis-developer] Processing r.mapcalc: unclear syntax

2016-10-22 Thread Paolo Cavallini
Il 23/10/2016 07:44, Paolo Cavallini ha scritto: > thanks for the clarification. Description improved in: > https://github.com/qgis/QGIS/commit/66b66ed45020e54146e43a35a94e9d024467f7df If OK, please backport it where appropriate. Thanks. -- Paolo Cavallini - www.faunalia.eu QGIS & PostGIS

Re: [Qgis-developer] Processing r.mapcalc: unclear syntax

2016-10-22 Thread Paolo Cavallini
Il 22/10/2016 19:54, Pedro VenĂ¢ncio ha scritto: > Hi Paolo and Victor, > > The expression needs to be in the form: > > output_name = input_name [operation] [constant or another input_name] > > So, in your case: > > dtm2 = dtm*2 > > But it still has problems, specially in Windows: >

Re: [Qgis-developer] Processing r.mapcalc: unclear syntax

2016-10-22 Thread Pedro VenĂ¢ncio
Hi Paolo and Victor, The expression needs to be in the form: output_name = input_name [operation] [constant or another input_name] So, in your case: dtm2 = dtm*2 But it still has problems, specially in Windows: https://hub.qgis.org/issues/6894 It would be great to have r.mapcal full