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 'Lines' objects and data.frames; extract list od
     Lines from a SpatialLines object

_U_s_a_g_e:

      
     SpatialLines(LinesList, proj4string = CRS(as.character(NA)))
     SpatialLinesDataFrame(sl, data, match.ID = TRUE)
     as.SpatialLines.SLDF(SLDF)
     getSLlinesSlot(SL)
     getSLLinesIDSlots(SL)

_A_r_g_u_m_e_n_t_s:

LinesList: list with objects of class Lines-class

proj4string: Object of class '"CRS"'; holding a valid proj4 string

  sl, SL: object of class SpatialLines-class

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

match.ID: logical: (default TRUE): match SpatialLines member Lines 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

