aRTlayer                 package:aRT                 R Documentation

_C_l_a_s_s _a_R_T_l_a_y_e_r

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

     Class that represents a layer of information in the database. It
     can insert geometries into the database, process them and
     create/open 'aRTtable', 'aRTtheme'  and 'aRTquerier' objects.
     TerraLib layers can stores various geometries in a layer, but in
     aRT, for simplify, each layer stores only one type of geometry.

_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("aRTlayer",
     aRTdb, layername, proj)'. Examples:
      'obj = new("aRTlayer", aRTdb, layername, create=T)'
      'obj = new("aRTlayer",db,l="llatlong",proj="+proj=latlong
     +datum=NAD83",c=T)'

     To avoid creating objects this way, there are two functions of
     class 'aRTdb': 'createLayer' and 'openLayer'.

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

     _a_R_T_d_b Object of aRTdb class.

     _l_a_y_e_r_n_a_m_e Name of the layer.

     _p_r_o_j Projection in proj.4 format. Some projections are not
          supported by TerraLib.

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

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

     Class 'aRTcomponent', directly.

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

     _a_d_d_L_i_n_e_s: Insert lines in the layer.

     _a_d_d_P_o_i_n_t_s: Insert points in the layer.

     _a_d_d_P_o_l_y_g_o_n_s: Insert polygons (rings) in the layer.

     _c_r_e_a_t_e_T_h_e_m_e: Create a new theme and returns it.

     _g_e_t_A_t_t_r_i_b_u_t_e_s: Return the stored attributes.

     _g_e_t_G_e_o_m_e_t_r_y: Return the geometries stored in the layer.

     _g_e_t_M_e_t_r_i_c: Return a metric operations (buffer, length, area,
          convex hull).

     _g_e_t_N_N: Nearest Neighbors (not implemented yet).

     _g_e_t_R_e_l_a_t_i_o_n: Look for spatial relations as contains, crosses,
          touches.

     _g_e_t_S_e_t_M_e_t_r_i_c: Calculate a set operation (union, difference,
          intersection, xor).

     _o_p_e_n_T_h_e_m_e: Open an existent theme.

     _p_l_o_t: Plots the data.

     _s_h_o_w_T_a_b_l_e_s: Show all information tables in the layer.

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

     Marcos Aurelio Carrero, Pedro Ribeiro de Andrade Neto

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

     See 'aRTlayer-METHOD' for a method of this class or
     'CLASSNAME-class' for links to other classes. Package 'spproj' for
     conversion of projections.

