m.rot90(1)	       Grass User's Manual	       m.rot90(1)



NNAAMMEE
       mm..rroott9900	 -  Rotates  elevation	data  extracted by either
       _m_._d_m_a_U_S_G_S_r_e_a_d
       _(_G_R_A_S_S _D_a_t_a _I_m_p_o_r_t_/_P_r_o_c_e_s_s_i_n_g _P_r_o_g_r_a_m_)

SSYYNNOOPPSSIISS
       mm..rroott9900
       mm..rroott9900 hheellpp
       mm..rroott9900 [--qq] iinnppuutt==_n_a_m_e oouuttppuutt==_n_a_m_e rroowwss==_v_a_l_u_e  ccoollss==_v_a_l_u_e
       bbppcc==_v_a_l_u_e

DDEESSCCRRIIPPTTIIOONN
       _m_._r_o_t_9_0 is used as a companion program to the DTED and DEM
       digital	 elevation   data   tape   extraction	 programs
       _m_._d_t_e_d_._e_x_t_r_a_c_t  and  _m_._d_m_a_U_S_G_S_r_e_a_d.   _m_._r_o_t_9_0  rotates the
       contents of the	output	files  generated  by  these  tape
       extraction  programs 90 degrees.  Rotation is necessary to
       compensate for the orientation of the data read from tape.
       This  program  can be used in conjunction with the program
       _r_._i_n_._l_l to convert this rotated data into GRASS raster map
       layer form.


       _m_._r_o_t_9_0	requires  five	inputs to be entered by the user.
       These  parameters  and  the  optional  flag  setting   are
       described below.



   FFllaaggss::
       --qq     Run quietly, suppressing output of messages on pro-
	      gram progress to standard output.




   PPaarraammeetteerrss::
       iinnppuutt==_n_a_m_e
	      The full pathname of an already-existing file  con-
	      taining the data to be rotated.  This _i_n_p_u_t file is
	      usually the output file created by _m_._d_m_a_U_S_G_S_r_e_a_d.

       oouuttppuutt==_n_a_m_e
	      Name to be assigned to the resultant, rotated  out-
	      put  file.  The full pathname of the output file in
	      which the rotated data are to be stored.

       rroowwss==_v_a_l_u_e
	      The number of rows of data in the _i_n_p_u_t file.

       ccoollss==_v_a_l_u_e
	      The number of columns of data in the _i_n_p_u_t file.

       bbppcc==_v_a_l_u_e
	      The number of bytes per cell in the _i_n_p_u_t file.


EEXXAAMMPPLLEE
       The following command:


       mm..rroott9900	iinnppuutt==_/_t_m_p_/_d_m_a_._o_u_t  oouuttppuutt==_/_t_m_p_/_r_o_t_._o_u_t  rroowwss==_3_0_1
       ccoollss==_3_5_8  bbppcc==_2



       will  rotate  the file /tmp/dma.out, and place the rotated
       file in /tmp/rot.out.  Here, the input file is 301 rows by
       358 columns, at 2 bytes per data value.

NNOOTTEESS
       The user should note that since the output file is rotated
       90 degrees from the original  input  file,  the	rows  and
       columns have been interchanged.	Hence, in the above exam-
       ple, the number of rows (301) and columns (358) stated  by
       the  user  on  the  command line were those present in the
       _i_n_p_u_t file.  The output file, however, will have 358  rows
       and 301 columns.

SSEEEE AALLSSOO
       _P_u_r_s_u_a_n_c_e _o_f _E_l_e_v_a_t_i_o_n _D_a_t_a, by Stuart Bradshaw, USACERL
       DTED and DEM Elevation Data Extraction, by Stuart Bradshaw
       , Mary Martin, and Chester Kos, USACERL


       _g_._r_e_g_i_o_n

       _m_._d_m_a_U_S_G_S_r_e_a_d

       _m_._d_t_e_d_._e_x_a_m_i_n_e

       _m_._d_t_e_d_._e_x_t_r_a_c_t

       _m_._e_x_a_m_i_n_e_._t_a_p_e

       _m_._f_l_i_p

       _m_._r_e_g_i_o_n_._l_l

       _r_._d_e_s_c_r_i_b_e

       _r_._i_n_._l_l

       _r_._r_e_s_c_a_l_e

       _r_._s_l_o_p_e_._a_s_p_e_c_t

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_3 _$



GRASS 5.0					       m.rot90(1)
