| reprojectRaster | R Documentation |
Project splitted raster
reprojectRaster(proj4, in.dir = tempdir(), out.dir = tempdir())
proj4 |
string, proj4string of the target raster. |
in.dir |
string, input directory; default to tempdir() |
out.dir |
string, output directory; default to tempdir() |
## Not run:
r <- raster::raster("~/Documents/calvana.tif")
proj4 <- readLines("~/Proj/nepal/data/proj4.txt")
r2 <- raster::projectRaster(r, crs = proj4)
g <- gridRaster(r, 5, 5)
splitRaster(r, g)
t_crs <- sp::proj4string(sp::CRS("EPSG:3226"))
reprojectRaster(t_crs)
raster::plot(r)
raster::lines(g)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.