GDALDriver-class: Class "GDALDriver": GDAL Driver Object
Description
GDALDriver
objects encapsulate GDAL file format
drivers. GDALDriver
inherits from GDALMajorObject-class
.Usage
getGDALDriverNames()
gdalDrivers()
getDriverName(driver)
getDriverLongName(driver)
getGDALVersionInfo(str = "--version")
getGDALCheckVersion()
getCPLConfigOption(ConfigOption)
setCPLConfigOption(ConfigOption, value)
Arguments
driver
An object inheriting from class 'GDALDriver'
str
A string, may be one of "--version"
, "VERSION_NUM"
, "RELEASE_DATE"
, "RELEASE_NAME"
value
a string value to set a CPL option; NULL is used to unset the CPL option
Objects from the Class
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).Extends
Class "GDALMajorObject"
, directly.Examples
Run this codegdalDrivers()
logo <- system.file("pictures/logo.jpg", package="rgdal")[1]
x <- new("GDALReadOnlyDataset", logo)
getDriver(x)
getDriverLongName(getDriver(x))
GDAL.close(x)
Run the code above in your browser using DataCamp Workspace