powered by
This function can extract extents of Global Forest Change data (GFC) using a corresponding URL.
GFC
URL
HansenUrltoExtent(x, path. = "[[:digit:]]{1,3}[N|S|E|W]")
character. URL to the GFC such as any of these produced by GFCurls.
character
GFCurls
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.
N
S
E
W
extent.
The function is implemented by FCPolygon.
FCPolygon
http://earthenginepartners.appspot.com/science-2013-global-forest
# NOT RUN { urtt <- 'https://storage.googleapis.com/earthenginepartners-hansen/ GFC-2017-v1.5/Hansen_GFC-2017-v1.5_treecover2000_10N_010E.tif' HansenUrltoExtent(urtt) # }
Run the code above in your browser using DataLab