thumbnails: thumbnails

Description Usage Arguments Details Value

View source: R/utils.R

Description

gets list of raster names from 'in_path' searches for rasters in extent of 'polys' mosaics rasters in extent together and crops to extent saves raster in 'out_path' Output options:

Usage

1
thumbnails(in_path, out_path, polys = random_samples, output = "tif")

Arguments

in_path

is a character vector containing the path to the orthoimagery

out_path

is a character vector specifying the output directory for the plots

polys

is a SpatialPolygonsDataFrame object (the sample boxes shapefile)

output

specifies type of output, 'tif' or 'png'

Details

* 'tif' makes a raster slightly larger than the target extent. * 'png' superimposes the polygon object and riparian buffer over the raster imagery.

Value

saves rasters of extent 'polys' to 'out_path'


crumplecup/riparian documentation built on April 14, 2021, 1:43 p.m.