rasterizeShapeFile: Convert a shapefile to a 'RasterLayer'

View source: R/movement.R

rasterizeShapeFileR Documentation

Convert a shapefile to a RasterLayer

Description

Converts a given shapefile and converts it to a RasterLayer and discards any unnecessary layers.

Usage

rasterizeShapeFile(filename, keeplist, n = 5)

Arguments

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

Value

A RasterLayer object


SEEG-Oxford/movement documentation built on April 17, 2023, 4:17 p.m.