mapcalculator.sh(1)    Grass User's Manual    mapcalculator.sh(1)



NNAAMMEE
       mmaappccaallccuullaattoorr..sshh   - TCLTK-Frontend for r.mapcalc

SSYYNNOOPPSSIISS
       mmaappccaallccuullaattoorr..sshh     [[hheellpp==[[_h_e_l_p_,_m_a_n]]]]	  [[eexxppeerrtt==_e_x_p_e_r_t]]
       AA__MMAAPP==[[_m_a_p ]] BB__MMAAPP==[[_m_a_p]]......

DDEESSCCRRIIPPTTIIOONN
       mmaappccaallccuullaattoorr..sshh is a bash-script  usally called via  mmaapp--
       ccaallccuullaattoorr in TCLTKGRASS. It creates a r.mapcalc call from
       the parameters you choose in mapcalculator. If you want to
       use mapcalc on the commandline you should use the original
       r.mapcalc command.

       In TTCCLLTTKKGGRRAASSSS  you can choose up to six maps  [_e_n_t_r_i_e_s _A _-
       _F]  to  be  included  in the calculation. Then you have to
       enter a formula and a name for the resulting  raster  map.
       You  won't receive a warning, if you choose the name of an
       allready existing raster map, but  you  can  protect  your
       files  from  overwriting  by  activating  the  appropriate
       checkbox.

       You can create a calculation formula in the field  formula
       like this:
       _A_+_C or (more complex:) _e_x_p_(_A_+_C_)_+_(_B_-_2_)_*_7_. A, B, C, etc. are
       your choosen raster maps. You must not insert  the  output
       file:


       RRiigghhtt:: _A_+_B

       WWrroonngg::	_n_e_w_f_i_l_e _= _A_+ _B Use no blanks! Blanks are inserted
       by the script to devide the map names from the rest of the
       formula.


       The  script won't check the syntax or logic of the formula
       and you will only receive the error messages  from  r.map-
       calc,  if  anything went wrong.	For details on creating a
       formula see the _r_._m_a_p_c_a_l_c manual page (man r.mapcalc).

BBUUGGSS
       It is not possible to choose maps from  different  mapsets
       with  the _r_a_s_t_e_r button. But you can choose maps from dif-
       ferent mapsets by entering the name  _m_a_p_@_m_a_p_s_e_t in any  of
       the map fields  _[_A_-_E_]_.


       You may have difficulties to calculate formulas containing
       _n_e_i_g_h_b_o_r_h_o_o_d modifier. The only way to  use   _n_e_i_g_h_b_o_r_h_o_o_d
       modifier  is entring them directly into the formula field:
       A+B*map_with_modifier where map_with_modifier is the  name
       of  your  map. The name of your map should not contain any
       uppercase _A _- _F,  because  they	will  be  interpreted  as
       raster map entries. Don't forget to mask the brackets with
       backslashes,   or  you  will  receive  errormessages  form
       TTCCLLTTKKGGRRAASSSS..

SSEEEE AALLSSOO
       r.mapcalc

AAUUTTHHOORR
       RR.. BBrruunnzzeemmaa



       _L_a_s_t _c_h_a_n_g_e_d_: _$_D_a_t_e_: _2_0_0_2_/_0_3_/_0_1 _0_0_:_0_8_:_3_1 _$



GRASS 5.0				      mapcalculator.sh(1)
