createTiles {hydflood} | R Documentation |
sfc_POLYGON
) into
tilesTo simplify and accelerate the computation of flood duration
with flood3
in massive areas this function provides a simple
tiling algorithm.
createTiles(x, size_x, size_y, subset = TRUE)
x |
has to by type |
size_x |
tile size along the x-axis in the units of the current projection ( |
size_y |
tile size along the y-axis in the units of the current projection ( |
subset |
|
sf
object containing tiles covering x
.
options("hydflood.datadir" = tempdir())
library(hydflood)
tiles <- createTiles(x = sf.af(name = "Elbe"),
size_x = 10000, size_y = 10000)
plot(tiles["tile_ID"])