fasterizeFromSp | R Documentation |
fasterize
Rasterize polygons using fasterize
fasterizeFromSp(sp, raster, fieldName)
sp |
a shapefile to rasterize |
raster |
the template raster to use |
fieldName |
the field to use (will be ignored if the shapefile has no fields) |
RasterLayer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.