On Thu, Mar 5, 2009 at 7:39 AM, achim <[email protected]> wrote: > > The Problem isn't solved yet!! > > I posted an easy example, but calculating with more complicated > scenarios I got these: > > r.mapcalc river=if(river[0,1]=4032076 ,4032075,river) > syntax error, unexpected '=', expecting ')' > Parse error > > or > > r.mapcalc river=if( river=4032076 ||| river=4032076 ,4032075,river) > syntax error, unexpected '=', expecting '@' or '(' > Parse error > > Any ideas? >
Time to visit the manual page. g.manual r.mapcalc will get you there. = is for assignment, == is for testing. Dylan _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
