clip_polygons2rasters: Clip Spatialpolygons To The Extent Of A Raster

Description Usage Arguments Value

View source: R/PWN_functions.R

Description

given a SpatialPolygons(DataFrame) and a list of raster filenames, clips the Polygons to retain only what fall in ONE OR MORE OF the rasters, i.e. to the joint extent of a set of rasters

Usage

1
clip_polygons2rasters(SpatPol, r.fnames)

Arguments

SpatPol

A SpatialPolygons(DataFrame)

r.fnames

Names of raster files

Value

a SpatialPolygons(DataFrame) cut to the joint extent


pieterbeck/CanHeMonR documentation built on May 25, 2019, 7:11 a.m.