Native interface to gdal utils
gdal_utils(util = "info", source, destination, options = character(0),
quiet = FALSE, processing = character(0),
colorfilename = character(0))
character; one of info
, warp
, rasterize
, translate
, vectortranslate
, buildvrt
, demprocessing
, nearblack
, grid
character; name of input layer(s); for warp
or buidvrt
this can be more than one
character; name of output layer
character; raster layer read options
logical; if TRUE
, suppress printing of output for info
character; processing options for demprocessing
character; name of color file for demprocessing
(mandatory if processing="color-relief"
)
info
returns a character vector with the raster metadata; all other utils return (invisibly) a logical indicating success (i.e., TRUE
); in case of failure, an error is raised.