rasterizeShapeFile | R Documentation |
RasterLayer
Converts a given shapefile and converts it to a RasterLayer
and
discards any unnecessary layers.
rasterizeShapeFile(filename, keeplist, n = 5)
filename |
The path to the shapefile to convert |
keeplist |
A list of layers in the shapefile to keep |
n |
The multiplier to use when creating the raster from the extent |
A RasterLayer
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.