HansenUrltoExtent: Extents in GFC links

Description Usage Arguments Details Value Author(s) References Examples

Description

This function can extract extents of Global Forest Change data (GFC) using a corresponding URL.

Usage

1
HansenUrltoExtent(x, path. = "[[:digit:]]{1,3}[N|S|E|W]")

Arguments

x

character. URL to the GFC such as any of these produced by GFCurls.

path.

character. Pattern in the URL to extract the extent. Default extracts the 3 digits nearest to any of the cardinal directions:N, S, E, or W.

Details

The function is implemented by FCPolygon.

Value

extent.

Author(s)

Wilson Lara <wilarhen@temple.edu>, Victor Gutierrez-Velez <victorhugo@temple.edu>

References

http://earthenginepartners.appspot.com/science-2013-global-forest

Examples

1
2
3
4
urtt <- 'https://storage.googleapis.com/earthenginepartners-hansen/
GFC-2017-v1.5/Hansen_GFC-2017-v1.5_treecover2000_10N_010E.tif'
HansenUrltoExtent(urtt)
    

forestChange documentation built on March 26, 2020, 7:26 p.m.