SpatialLines               package:sp               R Documentation

_c_r_e_a_t_e _o_b_j_e_c_t_s _o_f _c_l_a_s_s _S_p_a_t_i_a_l_L_i_n_e_s _o_r _S_p_a_t_i_a_l_L_i_n_e_s_D_a_t_a_F_r_a_m_e

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

     create objects of class 'SpatialLines' or  'SpatialLinesDataFrame'
     from lists of 'Slines' objects and data.frames; extract list od
     Slines from a SpatialLines object

_U_s_a_g_e:

      
     SpatialLines(SlineList)
     SpatialLinesDataFrame(sl, data, match.ID = TRUE)
     as.SpatialLines.SLDF(SLDF)
     getSLlinesSlot(SL)
     getSLSlinesIDSlots(SL)

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

SlineList: list with objects of class Slines-class

  sl, SL: object of class SpatialLines-class

    data: object of class 'data.frame'; the number of rows in 'data'
          should equal the number of 'Slines' elements in 'sl'

match.ID: logical: (default TRUE): match SpatialRings member Srings ID
          slot values with data frame row names, and re-order the data
          frame rows if necessary

    SLDF: SpatialLinesDataFrame object

_V_a_l_u_e:

     'SpatialLines' returns object of class 'SpatialLines';
     'SpatialLinesDataFrame' returns object of class
     'SpatialLinesDataFrame'

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

     SpatialLines-class

