Spatial-class               package:sp               R Documentation

_C_l_a_s_s "_S_p_a_t_i_a_l"

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

     An abstract class from which useful spatial classes are derived

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

     Spatial(bbox, proj4string = CRS(as.character(NA)))

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

    bbox: a bounding box matrix

proj4string: a CRS object

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

     are never to be generated; only derived classes can be meaningful

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


     '_b_b_o_x': Object of class '"matrix"'; 2-column matrix holding the
          minimum in first and maximum in second column for the
          x-coordinate (first row), y-coordinate (second row) and
          optionally, for points and grids only, further coordinates.
          The constructed  Spatial object will be invalid if any bbox
          values are NA or infinite. The column names must be 'c("min",
          "max")'

     '_p_r_o_j_4_s_t_r_i_n_g': Object of class '"CRS"'; holding a valid proj4
          string, which can be used for unprojecting or reprojecting
          coordinates; it is initialised to NA. Other strings are
          checked for validity in the spproj package, but attempts to
          assign a string containing "longlat" to data extending beyond
          longitude [-180, 360] or lattitude [-90, 90] will be stopped.

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


     _b_b_o_x 'signature(obj = "Spatial")': retrieves the bbox element 

     _d_i_m_e_n_s_i_o_n_s 'signature(obj = "Spatial")': retrieves the number of
          spatial dimensions spanned 

     _g_r_i_d_d_e_d 'signature(obj = "Spatial")': logical, tells whether the
          data is on a regular spatial grid 

     _p_l_o_t 'signature(x = "Spatial", y = "missing")': plot method for
          spatial objects; does nothing but setting up a plotting
          region choosing a suitable aspect if not given(see below),
          colouring the plot background using either a bg= argument or
          par("bg"), and possibly drawing axes.  

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

_W_a_r_n_i_n_g:

     this class is not useful in itself, but all spatial classes in
     this package derive from it

_N_o_t_e:

     The default aspect for map plots is 1; if however data are not
     projected (coordinates are longlat), the aspect is by default set
     to 1/cos(My * pi)/180) with My the y coordinate of the middle of
     the map (the mean of ylim, which defaults to the y range of
     bounding box).

     The argument 'setParUsrBB' may be used to pass the logical value
     'TRUE' to functions within 'plot.Spatial'. When set to 'TRUE',
     par("usr") will be overwritten with 'c(xlim, ylim)', which
     defaults to the bounding box of the spatial object. This is only
     needed in the particular context of graphic output to a specified
     device with given width and height, to be matched to the spatial
     object, when using par("xaxs") and par("yaxs") in addition to
     'par(mar=c(0,0,0,0))'.

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

     r-spatial team; Edzer J. Pebesma, edzer.pebesma@uni-muenster.de
     Roger Bivand, Barry Rowlinson, Virgilio G\'omez-Rubio

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

     'SpatialPoints-class', 'SpatialGrid-class',
     'SpatialPointsDataFrame-class', 'SpatialGridDataFrame-class'

