GDALTransientDataset-class       package:rgdal       R Documentation

_C_l_a_s_s "_G_D_A_L_T_r_a_n_s_i_e_n_t_D_a_t_a_s_e_t"

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

     'GDALTransientDataset' is identical to  'GDALDataset-class' except
     that transient datasets are not associated with any user-visible
     file. Transient datasets delete their associated file data when
     closed. See 'saveDataset' and 'saveDatasetAs'.

_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("GDALTransientDataset", driver, rows, cols, bands, type,
     options, handle)'.

     _d_r_i_v_e_r A "GDALDriver" object that determines the storage format

     _r_o_w_s Number of rows in the newly created dataset

     _c_o_l_s Number of columns in the newly created dataset

     _b_a_n_d_s Number of bands to create

     _t_y_p_e A GDAL type name as listed in '.GDALDataTypes'

     _o_p_t_i_o_n_s Driver specific options (currently ignored)

     _h_a_n_d_l_e Used internally; not for public consumption

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


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

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

     Class '"GDALDataset"', directly. Class '"GDALReadOnlyDataset"', by
     class "GDALDataset". Class '"GDALMajorObject"', by class
     "GDALDataset".

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


     _c_l_o_s_e_D_a_t_a_s_e_t 'signature(dataset = "GDALTransientDataset")': ... 

     _i_n_i_t_i_a_l_i_z_e 'signature(.Object = "GDALTransientDataset")': ... 

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

     Timothy H. Keitt, modified by Roger Bivand

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

     See also 'GDALDriver-class', 'GDALReadOnlyDataset-class'

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

     list.files(tempdir())
     x <- new('GDALTransientDataset', driver=new('GDALDriver', "GTiff"), rows=100,
      cols=100, bands=3, type='Byte')
     dim(x)
     list.files(tempdir())
     GDAL.close(x)
     list.files(tempdir())

