Hi Rainer, I had a similar problem recently. I was working with 8 unique flow directions, and I created a separate map for each flow direction. Something like this... r.mapcalc expression="flowdir1_dispersal = if(flowdir=1, seeds[xoffset_1,yoffset_1], null())" r.mapcalc expression="flowdir2_dispersal= if(flowdir=2, seeds[xoffset_2,yoffset_2], null())" etc.
Then, patch the different maps using r.patch. I hope this is helpful. Hanan This message has been scanned for malware by Websense. www.websense.com
_______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
