Glynn Clements <[email protected]> writes: > Moritz Lennert wrote: > >> r.mapcalc down_id = if(dir=1, id[1,1], if(dir=2, id[0,1], if(dir=3, >> id[-1,1] .... etc > > r.mapcalc follows C expression syntax; "="is assignment, "==" is the > equality test.
In this case shouldn't it be ,---- | r.mapcalc down_id = if(dir==1, id[1,1], if(dir==2, id[0,1], if(dir==3, id[-1,1] .... etc `---- with "==" after the dir? Rainer -- Rainer M. Krug email: Rainer<at>krugs<dot>de PGP: 0x0F52F982
signature.asc
Description: PGP signature
_______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
