[GRASS-user] generating a binary raster map
Hamish
hamish_nospam at yahoo.com
Sat Jul 15 04:38:56 EDT 2006
gary wrote:
> Thanks to the efforts of Bejamin Ducke, I now have r.cva installed.
> However, it does not take a single point as the target, but requires a
> binary raster map containing either targets or viewpoints. I read the
> wiki and did some googling, but can't find out how to build such a
> map.
r.mapcalc "map=if(a, b, c)"
read: if (a) then "b", otherwise "c".
see the r.mapcalc help page.
Hamish
More information about the grass-user
mailing list