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.

