add or remove overviews to/from a raster image
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
TRUE
, invisibly, on success
gdal_utils for access to other gdal utilities that have a C API