powered by
Function to open GDAL Dataset
GDALOpen(filename, readonly = TRUE)
An R6 object of GDALDataset class.
Character. The path to a GDAL dataset.
Logical. Flag to open a read only GDALDataset with GA_ReadOnly or GA_Update. Default TRUE.
ds_path <- system.file("extdata", "example.tif", package="gdalBindings") ds <- GDALOpen(ds_path) ds$Close()
Run the code above in your browser using DataLab