r.to.pg(1)		      Grass User's Manual		    r.to.pg(1)



NNAAMMEE
       _r_._t_o_._p_g	- exports GRASS raster map to PostgreSQL database into a three
       column table.

       _(_G_R_A_S_S _R_a_s_t_e_r _S_c_r_i_p_t_)



SSYYNNOOPPSSIISS
       rr..ttoo..ppgg

       rr..ttoo..ppgg hheellpp

       rr..ttoo..ppgg _r_a_s_t_e_r_m_a_p [_t_a_b_l_e___n_a_m_e]



   DDEESSCCRRIIPPTTIIOONN
       The _r_._t_o_._p_g program exports GRASS raster  map  to  PostgreSQL  database
       into  a	three  column  table.	A connection to PostgreSQL database is
       needed. The new table will be created in the currently connected  data-
       base, if the table name does not exist - please check first.



PPaarraammeetteerrss::
       rraasstteerrmmaapp
	      Name of an existing raster map to be exported to PostgreSQL.

       ttaabbllee__nnaammee
	      Name  of	new  table to create in currently connected PostgreSQL
	      database _(_D_e_f_a_u_l_t _i_s _r_a_s_t_e_r_m_a_p _n_a_m_e_)




EEXXAAMMPPLLEE
       A PostgreSQl table with three columns will be created:

       ID   |  column_name |	label
       -------------------------------------
       1    |	45.2525    |	text
       2    |	45.5	   |  label text
       3    |	44.124	       |    text
       4    |	46	   |	 text

       _w_i_t_h_:

       id:	 Cell ID		  (int8)
       column_name:   Value of rastermap cells (float)
       label:	      Category label	       (text)





KKNNOOWWNN BBUUGGSS
       The number check of imported values sometimes does  not	work  properly
       because of some shell problems with 'asterix'(*).



SSEEEE AALLSSOO
       _d_b_._c_o_n_n_e_c_t



AAUUTTHHOORR
       Markus Neteler

       category and ID	support by Otto Dassau

       _L_a_s_t _c_h_a_n_g_e_d_: _$_D_a_t_e_: _2_0_0_2_/_0_7_/_2_7



GRASS 5.0							    r.to.pg(1)
