Description Usage Arguments Value Author(s) Examples
Mosaics multiple raster files into a single object. This is intended for layers that do not require adjustments such as DEM files.
1 | mosaicList(rasList)
|
rasList |
a list of raster objects |
a mosaiced raster object
Tom Higginbottom
1 2 3 4 5 | #Set working directory to folder containing DTM files
setwd("D:/Projects/topography/Lidar_DTM_tiles/")
list all DTM files present, recursive= T to ensure sub folders are examined
dtm.list <- list.files(pattern=glob2rx("*.asc"), full.names=TRUE,recursive=TRUE)
mosaics <- mosaicList(rasList = dtm.list)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.