Ciao Luca! Thanks for the example!
Did it work for you?? When I try to validate it, I get Model is not valid. r.mapcalc: undefined variable 'ndvi * 0.0001' whatever operation I write in the right part of the expression. The only thing that gives me a valid model is %map = %map. Can anybody explain how it should be done or what are we missing there, please??? I really need this for a GUI based course I have to teach next week (students use windows and know nothing of programming). Any other suggestion is more than welcome! Cheers, Vero 2015-11-04 4:53 GMT-03:00 Luca Delucchi <lucadel...@gmail.com>: > On 4 November 2015 at 04:55, Veronica Andreo <veroand...@gmail.com> wrote: > > Hi devs, > > > > Hi, > > > sorry to bother... > > > > Can anybody please share a .gxm file with an example for using r.mapcalc > in > > a loop in the g.gui.gmodeler? I was able to do simple stuff with loops > and > > say r.info or r.stats, but just can't figure out the way to do even a > simple > > operation with r.mapcalc in a loop... maybe too tired already... > > > > here you are... please if you are able, provide some documentation for > g.gui.gmodeler, it is really needed ;-) > > > I also found this video, but it is for grass 6 and does not use loops: > > https://www.youtube.com/watch?v=jaMyFQholMQ > > > > Thanks much in advance! > > Cheers, > > > > Vero > > > > > -- > ciao > Luca > > http://gis.cri.fmach.it/delucchi/ > www.lucadelu.org >
_______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev