Some functions like get_tiles return multiple separate files when it can be useful to have a single larger raster instead. This function is a thin wrapper over sf::gdal_utils, making it easy to collapse those multiple raster files into a single TIFF.
Arguments
- input_rasters
A character vector containing the file paths to the georeferenced rasters you want to use.
- output_raster
The file path to save the merged georeferenced raster to.
- options
Optionally, a character vector of options to be passed directly to sf::gdal_utils. If the fallback is used and any options (other than "-overwrite") are specified, this will issue a warning.
- overwrite
Logical: overwrite
output_raster
if it exists? If FALSE and the file exists, this function will fail with an error. The behavior if this argument is TRUE and "-overwrite" is passed tooptions
directly is not stable.- force_fallback
Logical: if TRUE, uses the much slower fallback method by default. This is used for testing purposes and is not recommended for use by end users.
See also
Other data manipulation functions:
combine_overlays()
,
georeference_overlay()
,
raster_to_raw_tiles()
,
vector_to_overlay()