rastermeta: Create list containing rastermeta-information

View source: R/rastermeta.R

rastermetaR Documentation

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.

Author(s)

Lukas Lehnert

See Also

Speclib, HyperSpecRaster


hsdar documentation built on March 18, 2022, 6:35 p.m.