Last chance! 50% off unlimited learning
Sale ends in
Raster package internal crop raster function
.raster_crop(
r_obj,
file,
format,
data_type,
gdal_options,
overwrite,
block,
missing_value = NA
)
Subset of a raster object as defined by either block or bbox parameters
Raster package object to be written
File name to save cropped raster.
GDAL file format string (e.g. GTiff)
sits internal raster data type. One of "INT1U", "INT2U", "INT2S", "INT4U", "INT4S", "FLT4S", "FLT8S".
GDAL creation option string (e.g. COMPRESS=LZW)
logical indicating if file can be overwritten
numeric vector with names "first_col", "ncols", "first_row", "nrows".
A integer
with image's missing value
Rolf Simoes, rolf.simoes@inpe.br