C-GRASS combination

JIM ZOLLWEG H32X at VAX5.CIT.CORNELL.EDU
Tue Nov 17 10:22:00 EST 1992


Is it possible to call GRASS commands such as r.mapcalc from within a UNIX-C
program?  Is it possible to use UNIX-C statements withing a shell/macro?
I have noticed that the parameters of the r.mapcalc command (for example - 
'if(soil==2,10,0)' is the same as a C-statement and wondered if there is any
way to interface.

thanks, Jim Zollweg, Ag+Bio engineering, Cornell University.



More information about the grass-user mailing list