GDALMajorObject-class | R Documentation |
"GDALMajorObject" is a virtual base class for all GDAL objects.
getDescription(object)
object |
an object inheriting from "GDALMajorObject" |
getDescription
:returns a descrption string associated with the object. No setter method is defined because GDAL dataset objects use the description to hold the filename attached to the dataset. It would not be good to change that mid-stream.
Objects can be created by calls of the form new("GDALMajorObject", ...)
, but are only created for classes that extend this class.
handle
:Object of class "externalptr"
, used internally; not for public consumption
No methods defined with class "GDALMajorObject" in the signature.
Timothy H. Keitt, modified by Roger Bivand
GDALDriver-class
,
GDALReadOnlyDataset-class
, GDALDataset-class
and
GDALTransientDataset-class
driver <- new('GDALDriver', as.character(getGDALDriverNames()[1,1]))
driver
rm(driver)
logo <- system.file("pictures/logo.jpg", package="rgdal")[1]
x <- new("GDALReadOnlyDataset", logo)
x
getDescription(x)
dim(x)
GDAL.close(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.