writeRaster2: Modification of writeRaster that can delete auxillary files

View source: R/writeRaster2.R

writeRaster2R Documentation

Modification of writeRaster that can delete auxillary files

Description

Modification of writeRaster that can delete auxillary files. If overwrite is set to TRUE (the default) it will overwrite raster file and delete all associated files (e.g. pyramid files). Might only work on Windows.

Usage

writeRaster2(x, filename, overwrite = TRUE, ...)

Arguments

x

Raster* object

filename

Output filename

overwrite

Logical. If TRUE, "filename" will be overwritten if it exists. Additionally, auxillary files related to this raster will be deleted

...

other arguments passed to writeRaster


ailich/mytools documentation built on Jan. 7, 2023, 11:16 a.m.