Problems with mapcalc

Martin Ameskamp ma at informatik.uni-kiel.d400.de
Mon Mar 4 07:00:00 EST 1996



> ...
> G_system("r.mapcalc < text_file");
> ...
> 
> Such a line is 'ignored'. 
> There is no standard output from GRASS and no map is generated.
> There are no errors in text_file, because it works in GRASS.

        Have you tried specifying the full pathname for 'text_file'.
        r.mapcalc shouldn't need one, I think.
        Also, check the return status of G_system.

        Martin





More information about the grass-dev mailing list