safeMask: safeMask

Description Usage Arguments Value See Also

Description

Mask a RasterLayer object using a sp object representing one or more polygons in a such that cells falling under small polygons are masked out. Note this function is slower than raster::mask and has different behaviour.

Usage

1
safeMask(raster, sp)

Arguments

raster

a RasterLayer object to mask.

sp

an sp object by which to mask raster.

Value

a RasterLayer object, the same as raster but with any cell falling under sp set to NA

See Also

Other GIS: bufferMask, condSim, getArea, getPoints, insertRaster, ll2cart, makeVoronoiPolygons, sortPolyData


SEEG-Oxford/seegMBG documentation built on May 9, 2019, 11:08 a.m.