# \donttest{
# Get tile for Galicia (Spain) and year 2019
galicia_forest_extent <- fd_landcover_copernicus(
lat = 42.7,
lon = -7.8,
year = 2019
)
# Get forest and discrete classification tiles for all years
galicia_forest_extent <- fd_landcover_copernicus(
lat = 42.7,
lon = -7.8,
year = "all",
layer = c("forest", "discrete")
)
# }
Run the code above in your browser using DataLab