| GDALTransientDataset-class {rgdal} | R Documentation |
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.
Objects can be created by calls of the form new("GDALTransientDataset", driver, rows, cols, bands, type, options, handle).
.GDALDataTypeshandle:"externalptr", from class "GDALDataset", used internally; not for public consumption
Class "GDALDataset", directly.
Class "GDALReadOnlyDataset", by class "GDALDataset".
Class "GDALMajorObject", by class "GDALDataset".
signature(dataset = "GDALTransientDataset"): ... signature(.Object = "GDALTransientDataset"): ... Timothy H. Keitt, modified by Roger Bivand
See also GDALDriver-class,
GDALReadOnlyDataset-class
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())