Description Usage Arguments Value
View source: R/vector_to_raster.R
Rasterize vector files via gdal_rasterize using gdalUtils.
1 | vector_to_raster(x, y, field = NULL, burn = 1, filename = NULL)
|
x |
sf or Spatial object. |
y |
Raster Object. |
field |
Column name of x containing values used for rasterization. |
burn |
Value to "burn" into raster (only used when "field" is not set). |
filename |
Optional filename for writing output. If no filename is supplied, a temporary file will be created. |
Rasterized input.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.