Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

getWRS

Get WRS


Description

This function processes regions of interest (a polygon geometry or GADM unit) to find corresponding Landsat Path/Row World Reference System (WRS) polygons. This function is internally implemented by getrsp

Usage

getWRS(roi = NULL, path = tempdir(), 
    ...)

Arguments

roi

SpatialPolygonsDataFrame; or character; or NULL. Region of interest. This can be whether 1) a polygon geometry; or 2) the name of a GADM unit (see getGADM); or 3) a NULL value. Default NULL makes the function to print a list of GADM units.

path

character. Path name indicating where the WRS data are processed.

...

Additional arguments in getGADM.

Value

SpatialPolygonsDataFrame, or set of GADM units.

Author(s)

Wilson Lara Henao <wilarhen@temple.edu> [aut, cre], Victor Gutierrez-Velez [aut]

Examples

load(system.file('cchaira_roi.RData',package = 'ecochange'))
 
 wrs_cchaira <- suppressWarnings(getWRS(cchaira_roi))
     plot(wrs_cchaira)

ecochange

Integrating Ecological Remote Sensing Data to Derive EBV Metrics

v1.3
GPL-3
Authors
Wilson Lara Henao [aut, cre], Victor Gutierrez-Velez [aut]
Initial release
2020-10-06

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.