r.quant(1)	       Grass User's Manual	       r.quant(1)



NNAAMMEE
       rr..qquuaanntt	- This routine produces the quantization file for
       a floating-point map.
       _(_G_R_A_S_S _5 _R_a_s_t_e_r _P_r_o_g_r_a_m_)

SSYYNNOOPPSSIISS
       rr..qquuaanntt


       rr..qquuaanntt	  [--ttrr]    iinnppuutt==_n_a_m_e[_,_n_a_m_e_._._.]     [bbaasseemmaapp==_m_a_p]
       [ffpprraannggee==_d_m_i_n_,_d_m_a_x] [rraannggee==_m_i_n_,_m_a_x]

DDEESSCCRRIIPPTTIIOONN
       r.quant	produces  the  quantization  file for a floating-
       point map.


       _m_a_p_=_n_a_m_e   The map for which the rules be to  be  created.
       If  more than one map is specified, then this implies that
       the floating-point range is the miniumum  and  maximum  of
       all  the  maps  together,  unless  either  basemap=map  or
       fprange=min,max is specified.

	_b_a_s_e_m_a_p_=_m_a_p  The quant rules of this map set the  quanti-
       zation.

	_f_p_r_a_n_g_e_=_m_i_n_,_m_a_x    This sets the floating-point range for
       the quantization.

	    _-_t _f_l_a_g   Truncate floating point data

	    _-_r _f_l_a_g  Round floating point data

	_r_a_n_g_e_=_m_i_n_,_m_a_x  This sets the integer range for the  quan-
       tization. Otherwise a default of 1-255 is used.



QQuuaanntt rruulleess TThhee qquuaanntt rruulleess hhaavvee ttoo bbee eenntteerreedd iinntteerraaccttiivveellyy..
       If rules is specified, the input has the form:


       value1:value2:cat1:[cat2]


       where value1 and value2 are floating point values and cat1
       cand cat2 are integers. If cat2 is missing, it is taken to
       be equal to cat1. All values can be "*" which means infin-
       ity.



NNOOTTEE
       It is an error for both basemap and fprange to  be  speci-
       fied.

SSEEEE AALLSSOO
       _r_._s_u_p_p_o_r_t

       and

       _r_._n_u_l_l


AAUUTTHHOORR
       Michael	Shapiro,  Olga Waupotitcsh, U.S.Army Construction
       Engineering Research Laboratory

       _L_a_s_t _c_h_a_n_g_e_d_: _$_D_a_t_e_: _2_0_0_2_/_0_1_/_2_5 _0_5_:_4_5_:_3_4 _$



GRASS 5.0					       r.quant(1)
