SpatialPixels-class            package:sp            R Documentation

_C_l_a_s_s "_S_p_a_t_i_a_l_P_i_x_e_l_s" ~~~

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

     class for defining a pixels, forming a possibly incomplete
     rectangular grid of arbitrary dimension

_O_b_j_e_c_t_s _f_r_o_m _t_h_e _C_l_a_s_s:

     Objects are created by using e.g. 

     SpatialPixels(points)

     with points of class SpatialPoints-class

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

     '_g_r_i_d' object of class GridTopology-class, defining the grid
          topology (offset, cellsize, dim) 

     '_g_r_i_d._i_n_d_e_x' integer; index of points in full grid

     '_c_o_o_r_d_s' coordinates of points, or bbox of grid 

     '_b_b_o_x': Object of class '"matrix"'; bounding box 

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

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

     Class '"SpatialPoints"' directly; Class '"Spatial"', by class
     '"SpatialPoints"'.

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

     _c_o_o_r_d_i_n_a_t_e_s 'signature(x = "SpatialPixels")': calculates
          coordinates for each point on the grid; coordinates are not
          stored in objects of class SpatialGrid

     _s_u_m_m_a_r_y 'signature(x = "SpatialPixels")': gives summary

     _p_l_o_t 'signature(x = "SpatialPixels")': plots cell centers 

     "[" 'signature(x = "SpatialPixels")': select pixel cells

_N_o_t_e:

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

     Edzer J. Pebesma, e.pebesma@geo.uu.nl

_R_e_f_e_r_e_n_c_e_s:

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

     'SpatialPixelsDataFrame-class', 'SpatialGrid-class'

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

     data(meuse.grid)
     pts = meuse.grid[c("x", "y")]
     y = SpatialPixels(SpatialPoints(pts))
     class(y)
     y
     summary(y)
     plot(y)

