Description Usage Arguments Details Value Author(s) References Examples
This function can retrieve and crop layers of Global Forest Change
(GFC
) using polygon geometries (i.e., GADM).
1 2 |
pol |
|
lyrs |
|
path |
|
url |
|
pr.utm |
|
mc.cores |
|
... |
Additional arguments in |
The GADM
are imported using
the in-package getGADM
.
Links to the data sets are obtained using
the in-package
GFCurls
. Geographic extents
in both the GADM
and the GFC
are intersected implementing
HansenUrltoExtent
. Common
areas between GFC
and GADM
are cropped using two functions of the
raster
package:
crop
and
rasterize
. Depending on
localization of the GADM
unit,
several GFC
layers by data type
might be required. This is done
implementing the in-package
FCMosaic
. This function
could be memory demanding if the extents
of the polygons used to cut the GFC
are big (30,000 km^2). For these cases,
machines with RAM of 8 GB or greater should
be used. In unix-alike systems, the
package implements parallel execution,
see parallel
package.
RasterStack
, or set of GADM
units.
Wilson Lara <wilarhen@temple.edu>, Victor Gutierrez-Velez <victorhugo@temple.edu>
Hansen, M. C., Potapov, P. V., Moore, R., Hancher, M., Turubanova, S. A. A., Tyukavina, A., ... & Kommareddy, A. (2013). High-resolution global maps of 21st-century forest cover change. science, 342(6160), 850-853.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | ## A list of departments of Colombia is printed:
dep <- FCPolygon(level = 1)
head(dep)
## Two adjacent layers of GFC must be bounded together before cropping
## the GFC data using the boundaries of the the municipality of
## 'Cumaribo' in Colombia. This is automatically developed by
## FCPolygon:
cumariboArea <- FCPolygon(pol = 'Cumaribo')
## The name 'Mosquera' matchs two municipalities of Colombia. A
## corresponding department should be specified in the argument 'pol'
## of FCPolygon:
mosquera <- FCPolygon('Mosquera')
mosqueraNarinho <- FCPolygon(pol = c('Mosquera','Narino'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.