aRTdb-createTable            package:aRT            R Documentation

_C_r_e_a_t_e _a_n _a_t_t_r_i_b_u_t_e _t_a_b_l_e

_D_e_s_c_r_i_p_t_i_o_n:

     Creates a new attribute table in the database and returns it. It
     the table is created from an 'aRTdb' its type will be external,
     when  creating from layers it can be any type (but external).

_U_s_a_g_e:

     ## S4 method for signature 'aRTdb':
     createTable(object, tablename, id, length)
     ## S4 method for signature 'aRTlayer':
     createTable(object, id, length, generateids=F, type="event")

_A_r_g_u_m_e_n_t_s:

  object: Object of aRTlayer or aRTdb class.

tablename: Name of the table.

      id: The name of the unique identifier of the table (default =
          "id").

  length: The maximum length of id instances.

generateids: Populate the table ids linking with the layer geometries?
          Used with static and dynamic attributes tables only (default
          = TRUE).

    type: The type of the table. See 'aRTtable-class' for the available
          types.

_D_e_t_a_i_l_s:

     TerraLib uses some tables in the database, and then you cannot
     create tables with these names. Names as "'Points...'",
     "'Polygons...'", (other geometries), "'tempTable'" and "'te_...'"
     are reserved. Note that names with non letters characters are also
     prohibited.

_A_u_t_h_o_r(_s):

     Pedro Ribeiro de Andrade Neto

_S_e_e _A_l_s_o:

     See 'aRTtable-class' to the description of table types.

