Virtual Raster Tiles
Create a Virtual Raster Tiles (VRT) dataset.
## S4 method for signature 'character' vrt(x, filename="test.vrt", overwrite=FALSE)
x |
character. Filenames of raster "tiles". See |
filename |
character. Output VRT filename |
overwrite |
logical. Should filename be overwritten if it exists? |
SpatRaster
r <- rast(ncols=100, nrows=100) values(r) <- 1:ncell(r) x <- rast(ncol=2, nrow=2) filename <- paste0(tempfile(), "_.tif") ff <- makeTiles(r, x, filename) vrtfile <- paste0(tempfile(), ".vrt") v <- vrt(ff, vrtfile) head(readLines(vrtfile)) v
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.