merge_rasters function

Merge Rasters

Merge Rasters

Merge multiple downloaded raster files into a single file. The input target_prj describes the projection for the new grid.

merge_rasters( raster_list, target_prj, method = "bilinear", returnRaster = TRUE )

Arguments

  • raster_list: a list of raster file paths to be mosaiced
  • target_prj: the target projection of the output raster
  • method: the method for resampling/reprojecting. Default is 'bilinear'. Options can be found here
  • returnRaster: if TRUE, return a raster object (default), else, return the file path to the object
  • Maintainer: Jeffrey Hollister
  • License: MIT + file LICENSE
  • Last published: 2023-09-12