aRTtable                 package:aRT                 R Documentation

_C_l_a_s_s _a_R_T_t_a_b_l_e

_D_e_s_c_r_i_p_t_i_o_n:

     Class that represents a DBMS table. It can be one of the various
     TerraLib table types.

     Tables are created from layers, and their attributes can be linked
     to other tables or geometries. For selecting data joining tables
     with the links use aRTthemes.

_O_b_j_e_c_t_s _f_r_o_m _t_h_e _C_l_a_s_s:

     Objects can be created by calls of the form 'new("aRTtable",
     aRTlayer, tablename, create = T)'

_A_r_g_u_m_e_n_t_s:

     _p_a_r_e_n_t: Object of class {'aRTlayer','aRTdb'}.

     _t_a_b_l_e_n_a_m_e: Name of the table.

     _c_r_e_a_t_e: Can the table be created if it does not exist?

     _i_d: The name of the unique identifier of the table (default =
          "id"). Used only at creating.

     _l_e_n_g_t_h: The maximum length of id instances. Used only at creating.

     _g_e_n_e_r_a_t_e_i_d_s: Populate the table ids linking with the layer
          geometries? Used only at creating, and with static and
          dynamic attributes tables only.

     _t_y_p_e: The type of the table, see below.

_E_x_t_e_n_d_s:

     Class 'aRTcomponent', directly.

_M_e_t_h_o_d_s:

     _a_d_d_C_o_l_u_m_n_s: Add new columns to the table.

     _a_d_d_R_o_w_s: Add new elements to the table.

     _g_e_t_D_a_t_a: Returns the table values.

_T_a_b_l_e _t_y_p_e_s:

     In TerraLib there are several types of table, implementing the
     entity relationship, temporal and other models. They are:

     _s_t_a_t_i_c Table which each geomety has one, and only one, respective
          row.

     _m_e_d_i_a A media table has only two columns: object_id and
          media_name.  It associates an url to a geometry double-click
          in a TerraLib-based GIS. A layer can have only one media
          table, and this table does not have a name.

     _e_x_t_e_r_n_a_l Each row is not implicitly connected to a geometry, but
          the table can have foreign keys to all static, event and
          dynamoc tables.

     _e_v_e_n_t One geometry occours in a specific time interval, as
          murderers.

     _d_y_n_a_t_t Attributes changing in the time, but the objects have
          static geometry.

     _a_l_l_d_y_n Fully dynamic (attributes and geometry). (not implemented
          yet)

     _d_y_n_g_e_o_m Dynamic Geometry. (not implemented yet)

     _d_e_f_a_u_l_t The default value depending on the parent. If the class is
          aRTlayer, default will be static, else (aRTdb) it will be
          external.

_A_u_t_h_o_r(_s):

     Pedro Ribeiro de Andrade Neto

_S_e_e _A_l_s_o:

     See 'aRTtable-METHOD' for a method of this class or
     'CLASSNAME-class' for links to other classes.

