clipmask: Clip landscape raster by polygon or buffered point

View source: R/clipmask.R

clipmaskR Documentation

Clip landscape raster by polygon or buffered point

Description

Internal function that clips landscapes within 'execute_landclip', not to be called directly

Usage

clipmask(land, polygonID, polygons, outdir, idvar, overrast, na_value = NA)

Arguments

land

landscape raster, passed from 'execute_landclip'

polygonID

id of specific polygon used for clip and mask

polygons

SpatialPolygonDataFrame of polygons to clip, passed from 'execute_landclip'

outdir

Directory where .tif landscape clips are to be stored, passed from 'execute_landclip'

idvar

Identifying variable name within feature shapefile, passed from 'execute_landclip'

overrast

Logical, should existing rasters with same filename be overwritten?

na_value

Numeric, to assign NA values in raster

Examples

see 'execute_landclip' for usage example.

land-4-bees/beecoSp documentation built on March 19, 2024, 3:45 p.m.