Wrapping class for GDALDataset C++ API exporting GetRasterBand, GetRasterXSize, GetRasterYSize
new()Create a new raster file based on specified data. It will output a *.tif file.
GDALDataset$new(ds)dsGDALDatasetR pointer. Should not be used
datatypeGDALDataType. The GDALDataType to use for the raster, use (GDALDataType$) to find the options. Default GDALDataType$GDT_Float64
An object from GDALDataset R6 class.
GetRasterBand()Function to retrieve the GDALRasterBand R6 Object.
GDALDataset$GetRasterBand(x)xInteger. The band index, starting from 1 to number of bands.
An object of GDALRasterBand R6 class.
GetRasterXSize()Get the width for the raster
GDALDataset$GetRasterXSize()An integer indicating the raster width
GetRasterYSize()Get the height for the raster
GDALDataset$GetRasterYSize()An integer indicating the raster height
Close()Closes the GDALDataset
GDALDataset$Close()An integer indicating the raster width
clone()The objects of this class are cloneable with this method.
GDALDataset$clone(deep = FALSE)deepWhether to make a deep clone.