-
Notifications
You must be signed in to change notification settings - Fork 25
/
merge_rasters.Rd
34 lines (30 loc) · 1.07 KB
/
merge_rasters.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_elev_raster.R
\name{merge_rasters}
\alias{merge_rasters}
\title{Merge Rasters}
\usage{
merge_rasters(
raster_list,
target_prj,
method = "bilinear",
returnRaster = TRUE,
tmp_dir = tempdir()
)
}
\arguments{
\item{raster_list}{a list of raster file paths to be mosaiced}
\item{target_prj}{the target projection of the output raster}
\item{method}{the method for resampling/reprojecting. Default is 'bilinear'.
Options can be found [here](https://gdal.org/programs/gdalwarp.html#cmdoption-gdalwarp-r)}
\item{returnRaster}{if TRUE, return a raster object (default), else, return the file path to the object}
\item{tmp_dir}{The location to store downloaded raster files. Defaults to a
temporary location. Alternatively, the user may supply an
existing path for these raster files. New folders are not
created by \code{get_elev_raster}.}
}
\description{
Merge multiple downloaded raster files into a single file. The input `target_prj`
describes the projection for the new grid.
}
\keyword{internal}