Rdocumentation
powered by
Learn R Programming
hsdar (version 0.5.1)
rastermeta: Create list containing rastermeta-information
Description
Create valid objects for slot
rastermeta
in
Speclib
.
Usage
rastermeta(x, dim, ext, crs)
Arguments
x
Optional. Object of one of the following classes: "Raster", "RasterBrick", "RasterStack", "HyperSpecRaster".
dim
Optional. Vector with length == 2. The first and second elements give the number of rows and columns, respectively.
ext
Optional. Object of class
extent
.
crs
Optional. Object of class
CRS
.
Value
List with following elements (in exactly this order!):
dim: Vector with length == 2. The first and second elements give the number of rows and columns, respectively.
ext: Object of class
extent
.
crs: Object of class
CRS
.
See Also
Speclib
,
HyperSpecRaster