View source: R/functions_rasterize.R
create_raster | R Documentation |
Create empty raster from a bounding box with a specified projection.
create_raster(x, tile.size = 100)
x |
either a bounding box (see |
tile.size |
cell size (which is both the width and the height) in meters (assuming the coordinate system is specified in meters) |
raster layer
# create raster
ZL_bbox <- sf::st_bbox(c(xmin = 4012000, ymin = 3077000, xmax = 4048000, ymax = 3117000),
crs = sf::st_crs(3035))
ZL_raster <- create_raster(ZL_bbox)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.