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



NNAAMMEE
       rr..rreessaammppllee  - GRASS raster map layer data resampling capability.
       _(_G_R_A_S_S _R_a_s_t_e_r _P_r_o_g_r_a_m_)

SSYYNNOOPPSSIISS
       rr..rreessaammppllee
       rr..rreessaammppllee hheellpp
       rr..rreessaammppllee [--qq] iinnppuutt==_n_a_m_e oouuttppuutt==_n_a_m_e

DDEESSCCRRIIPPTTIIOONN
       _r_._r_e_s_a_m_p_l_e  resamples  the data values in a user-specified raster input
       map layer _n_a_m_e (bounded by the current geographic region and masked  by
       the current mask), and produces a new raster output map layer _n_a_m_e con-
       taining the results of the resampling.  The category values in the  new
       raster  output  map  layer  will  be the same as those in the original,
       except that the resolution and extent of  the  new  raster  output  map
       layer  will  match those of the current geographic region settings (see
       _g_._r_e_g_i_o_n).


       The program will be run non-interactively if the user specifies program
       arguments   on  the  command  line,  using  the	form  rr..rreessaammppllee  [--qq]
       iinnppuutt==_n_a_m_e oouuttppuutt==_n_a_m_e

       where the input _n_a_m_e is the name of the raster map layer whose data are
       to be resampled, the output _n_a_m_e is the name of the raster map layer to
       store program output, and the  --qq  option,  if  present,  directs  that
       _r_._r_e_s_a_m_p_l_e  run quietly (supressing the printing of program messages to
       standard output).


       Alternately, the user can simply type rr..rreessaammppllee on the	command  line,
       without program arguments.  In this case, the user will be prompted for
       needed inputs and option choices using the standard GRASS _p_a_r_s_e_r inter-
       face.

NNOOTTEESS
       The  method by which resampling is conducted is "nearest neighbor" (see
       _r_._n_e_i_g_h_b_o_r_s).  The resulting raster map layer will have the same  reso-
       lution  as  the	resolution of the current geographic region (set using
       _g_._r_e_g_i_o_n).


       The resulting raster map layer may be identical to the original	raster
       map  layer.   The _r_._r_e_s_a_m_p_l_e program will copy the color table and his-
       tory file associated with the original raster map layer for the result-
       ing  raster  map  layer	and will create a modified category file which
       contains description of only those categories which appear in resampled
       file.


       When  the  user	resamples  a GRASS _r_e_c_l_a_s_s file, a true raster file is
       created by _r_._r_e_s_a_m_p_l_e.

SSEEEE AALLSSOO
       _g_._r_e_g_i_o_n

       _r_._m_a_p_c_a_l_c

       _r_._m_a_s_k

       _r_._m_f_i_l_t_e_r

       _r_._n_e_i_g_h_b_o_r_s

       _r_._r_e_s_c_a_l_e

       _p_a_r_s_e_r


AAUUTTHHOORR
       Michael Shapiro, 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.resample(1)
