GDALTransientDataset is identical to
except that transient datasets are not associated with any
user-visible file. Transient datasets delete their associated file
data when closed. See
Objects can be created by calls of the form
new("GDALTransientDataset", driver, rows, cols, bands, type, options, fname, handle).
A "GDALDriver" object that determines the storage format
Number of rows in the newly created dataset
Number of columns in the newly created dataset
Number of bands to create
A GDAL type name as listed in
Driver specific options
default NULL, used internally to pass through a file name with a required extension (RST driver has this problem)
Used internally; not for public consumption
Object of class
"externalptr", from class "GDALDataset", used internally; not for public consumption
"GDALReadOnlyDataset", by class "GDALDataset".
"GDALMajorObject", by class "GDALDataset".
signature(dataset = "GDALTransientDataset"): ...
signature(.Object = "GDALTransientDataset"): ...
Timothy H. Keitt, modified by Roger Bivand
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())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.