SpatialPolygons-class           package:sp           R Documentation

_C_l_a_s_s "_S_p_a_t_i_a_l_P_o_l_y_g_o_n_s"

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

     class to hold polygon topology (without attributes)

_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 to the function SpatialPolygons

_S_l_o_t_s:


     '_p_o_l_y_g_o_n_s': Object of class '"list"'; list elements are all of
          class Polygons-class

     '_p_l_o_t_O_r_d_e_r': Object of class '"integer"'; integer array giving the
          order in which objects should be plotted 

     '_b_b_o_x': Object of class '"matrix"'; see Spatial-class 

     '_p_r_o_j_4_s_t_r_i_n_g': Object of class '"CRS"'; see CRS-class

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

     Class '"Spatial"', directly.

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

     Methods defined with class "SpatialPolygons" in the signature:

     [ 'signature(obj = "SpatialPolygons")': select subset of (sets of)
          polygons; NAs are not permitted in the row index

     _p_l_o_t '\signature(x = "SpatialPolygons", y = "missing")':  plot
          polygons in SpatialPolygons object

     _s_u_m_m_a_r_y '\signature(object = "SpatialPolygons")': summarize object

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

     Roger Bivand

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

     SpatialPolygons

_E_x_a_m_p_l_e_s:

     grd <- GridTopology(c(1,1), c(1,1), c(10,10))
     polys <- as.SpatialPolygons.GridTopology(grd)
     plot(polys)
     text(coordinates(polys), labels=sapply(slot(polys, "polygons"), function(i) slot(i, "ID")), cex=0.6)

