This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(rgee) | |
help() | |
# Install rgee v.1.0.4 | |
# devtools::install_github("r-spatial/rgee") | |
ee_Initialize() | |
s2_img_array <- ee$ImageCollection("COPERNICUS/S2") %>% | |
ee$ImageCollection$filterBounds(ee_random_point)%>% # Filter by space | |
ee$ImageCollection$filterDate("2016-01-01", "2016-12-31") %>% # Filter by time | |
ee$ImageCollection$mosaic() %>% # Create a ee$Image |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Aachenosaurus | |
Aardonyx | |
Abdallahsaurus | |
Abelisaurus | |
Abrictosaurus | |
Abrosaurus | |
Abydosaurus | |
Acanthopholis | |
Achelousaurus | |
Acheroraptor |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Aachenosaurus | |
Aardonyx | |
Abdallahsaurus | |
Abelisaurus | |
Abrictosaurus | |
Abrosaurus | |
Abydosaurus | |
Acanthopholis | |
Achelousaurus | |
Acheroraptor |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Aachenosaurus | |
Aardonyx | |
Abdallahsaurus | |
Abelisaurus | |
Abrictosaurus | |
Abrosaurus | |
Abydosaurus | |
Acanthopholis | |
Achelousaurus | |
Acheroraptor |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(rgee) | |
library(sf) | |
ee_Initialize() | |
# Define study area | |
ee_arequipa <- system.file("shp/arequipa.shp", package="rgee") %>% | |
st_read() %>% | |
st_bbox() %>% | |
st_as_sfc() %>% |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(gdalcubes) | |
library(stars) | |
library(rgee) | |
ee_Initialize(drive = TRUE) | |
ocona <- ee$Geometry$Point(c(-73.10783, -16.43148))$buffer(1000) | |
ee_search_dataset() %>% | |
ee_search_title("sentinel") %>% |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(cptcity) | |
library(raster) | |
library(stars) | |
library(rgee) | |
library(sf) | |
ee_Initialize(drive = TRUE) | |
roi <- st_read(system.file("shape/nc.shp", package="sf")) %>% | |
st_bbox() %>% |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
suppressPackageStartupMessages(library(mapview)) | |
suppressPackageStartupMessages(library(sf)) | |
mapviewOptions( | |
basemaps = c( | |
"Esri.WorldImagery", "OpenTopoMap", | |
"CartoDB.Positron", "CartoDB.DarkMatter", | |
"OpenStreetMap" | |
) | |
) |