| GDALDriver-class {rgdal} | R Documentation |
GDALDriver objects encapsulate GDAL file format
drivers. GDALDriver inherits from GDALMajorObject-class.
getGDALDriverNames() gdalDrivers() getDriverName(driver) getDriverLongName(driver) getGDALVersionInfo()
driver |
An object inheriting from class 'GDALDriver' |
getGDALDriverNames, gdalDrivers:getDriverName:getDriverLongName:getGDALVersionInfo:
Objects can be created by calls of the form new("GDALDriver", name, handle), where name: a string giving the name of a GDAL driver, handle: used internally; not for public consumption (default = NULL).
handle:"externalptr", from class "GDALMajorObject", used internally; not for public consumption
Class "GDALMajorObject", directly.
signature(.Object = "GDALDriver"): drivername: a string giving the name of a GDAL driver, handle: used internally; not for public consumption (default = NULL)
Loading the rgdal package changes the GDAL\_DATA environmental variable to the GDAL support files bundles with the package.
Timothy H. Keitt, modified by Roger Bivand
gdalDrivers()
logo <- system.file("pictures/logo.jpg", package="rgdal")[1]
x <- new("GDALReadOnlyDataset", logo)
getDriver(x)
getDriverLongName(getDriver(x))
GDAL.close(x)