View source: R/download.lu.ecors.R
download.lu.ecors | R Documentation |
Download from Google Earth Engine all Land Use images selected by get.lu.ecors function.
download.lu.ecors( x, exp.degree = 0.05, images.folder = getwd(), clear.prov = F )
x |
lu.ecors object (from get.lu.ecors). |
exp.degree |
number of degrees to expand (and in all directions) the extent of downloaded images (decimal degree format). |
images.folder |
local folder to save images files. |
clear.prov |
delete ALL files from temporary folder (ecors_temp) in your Google Drive account after download? |
#get a lu.ecors class object FAL.IBGE.JBB<-sf::st_read(system.file("extdata/FAL.IBGE.JBB.gpkg", package="ecors")) test.points<-sf::st_read(system.file("extdata/Points_tests.gpkg", package="ecors")) test.plots<-sf::st_read(system.file("extdata/Plots_tests.gpkg", package="ecors")) library(ecors) lu2000_2010<-get.lu.ecors(site=FAL.IBGE.JBB, points=test.points, plots=test.plots, polygons=NULL, id.column=1, projected=F, custom.crs=32723, collection.lu="mapbiomas6", years=c(2000,2010), resolution=30, evaluate="surroundings.site", buffer1=10000, buffer2=NULL, buffer3=NULL, cumulative.surroundings=F) #download download.lu.ecors(x=lu2000_2010, exp.degree=0.05, images.folder=getwd(), clear.prov=F)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.