Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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.

Author(s)

Lukas Lehnert

See Also


hsdar

Manage, Analyse and Simulate Hyperspectral Data

v1.0.3
GPL
Authors
Lukas W. Lehnert [cre, aut] (<https://orcid.org/0000-0002-5229-2282>), Hanna Meyer [ctb], Joerg Bendix [ctb]
Initial release
2020-08-04

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.