add or remove overviews to/from a raster image
gdal_addo(
file,
overviews = c(2, 4, 8, 16),
method = "NEAREST",
layers = integer(0),
options = character(0),
config_options = character(0),
clean = FALSE,
read_only = FALSE
)
TRUE
, invisibly, on success
character; file name
integer; overview levels
character; method to create overview; one of: nearest, average, rms, gauss, cubic, cubicspline, lanczos, average_mp, average_magphase, mode
integer; layers to create overviews for (default: all)
character; dataset opening options
named character vector with GDAL config options, like c(option1=value1, option2=value2)
logical; if TRUE
only remove overviews, do not add
logical; if TRUE
, add overviews to another file with extension .ovr
added to file
gdal_utils for access to other gdal utilities that have a C API