extend.raster: Extend a BIL raster file by NOVALUE data

View source: R/extend.raster.r

extend.rasterR Documentation

Extend a BIL raster file by NOVALUE data

Description

Extend an existing raster by NOVALUE data and opionally write it as a BIL raster file

Usage

extend.raster(
  x,
  new.extent,
  write.raster = TRUE,
  filename = NULL,
  mp = 1,
  noValue = NULL
)

Arguments

x

a raster object. May be a raster, a RasterBrick or a RasterStack.

new.extent

either an extent or a numerical vector that can be coerced to an extent.

write.raster

logical. Should the extended raster be written to disk (TRUE) or returned (FALSE)?

filename

character string. Filename used to write the extended raster. Only used if write.raster==TRUE.

mp

numeric. multiplicator to multiply the (existing) raster with.

noValue

numeric. Sets the nodata value for the new raster.

Value

a raster object if write.raster == FALSE

Author(s)

Simon Frey

See Also

readINCABIL writeINCABIL


freysimon/ZAMGR documentation built on Nov. 3, 2023, 9:44 p.m.