Methods for closing GDAL datasets, used internally

closeDataset(dataset)
  closeDataset.default(dataset)

Arguments

dataset

GDAL dataset

Methods

dataset = "ANY"

default method, returns error

dataset = "GDALReadOnlyDataset"

closes the "GDALReadOnlyDataset"

dataset = "GDALTransientDataset"

closes the "GDALTransientDataset"