GDALMajorObject-class         package:rgdal         R Documentation

_C_l_a_s_s "_G_D_A_L_M_a_j_o_r_O_b_j_e_c_t"

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

     "GDALMajorObject" is a virtual base class for all GDAL objects.

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

     getDescription(object)

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

  object: an object inheriting from "GDALMajorObject"

_D_e_t_a_i_l_s:


     '_g_e_t_D_e_s_c_r_i_p_t_i_o_n': returns a descrption string associated with the
          object. No setter method is defined because GDAL dataset
          objects use the description to hold the filename attached to
          the dataset. It would not be good to change that mid-stream.


_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 of the form
     'new("GDALMajorObject", ...)', but are only created for classes
     that extend this class.

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


     '_h_a_n_d_l_e': Object of class '"externalptr"', used internally; not
          for public consumption

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

     No methods defined with class "GDALMajorObject" in the signature.

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

     Timothy H. Keitt, modified by Roger Bivand

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

     <URL: http://www.keittlab.org/>, <URL: http://www.gdal.org/>

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

     'GDALDriver-class', 'GDALReadOnlyDataset-class',
     'GDALDataset-class' and 'GDALTransientDataset-class'

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

     driver <- new('GDALDriver', as.character(getGDALDriverNames()[1,1]))
     driver
     rm(driver)
     logo <- system.file("pictures/logo.jpg", package="rgdal")[1]
     x <- new("GDALReadOnlyDataset", logo)
     x
     getDescription(x)
     dim(x)
     GDAL.close(x)

