rasterStack: Stacks bands from raster image files

Description Usage Arguments Details Value Author(s)

View source: R/r2dRue.r

Description

Concatenates multiple raster files into a single file. Provides support to several interleaved schemas: BIP (Bands Interleaved by Pixel), BIL (Band Interleaved by Line) or BSQ (Band Sequential). The output concatenated file may be saved in Ascii or binary format.

Usage

1
rasterStack(inFl, outFN, asc = FALSE, zip = FALSE, dec = 3, interleave = "BIP", silent = FALSE)

Arguments

inFl

List with the name of the files to be concatenated

outFN

Name for the output file

asc

Logical. If TRUE the output is an ASCII file

zip

Logical. If TRUE the output is zipped. Only used if asc is TRUE.

dec

Integer. If present, the output values are rounded to the specified number of decimal places. Only used if asc is TRUE.

interleave

The interleave format. BIP, BIL or BSQ.

silent

Logical. If TRUE, comment and non-fatal CPL driver errors are suppressed.

Details

In binary mode (default), the data is stored as 32bit floating point number. Only the first band of each image is used. This function is not intended to be of general utility. It is used in internal processes to arrange image data into a format that is optimum for the process.

Value

An ASCII or binary file.

Author(s)

Alberto Ruiz. aruiz@eeza.csic.es


r2dRue documentation built on May 2, 2019, 4:50 p.m.