Closed aloboa closed 2 years ago
Sys.info() sysname "Linux" release "5.15.11-76051511-generic" version "#202112220937~1640185481~21.04~b3a2c21-Ubuntu SMP Mon Jan 3 16:5" nodename "pop-os" machine "x86_64"
rgee
[ ] You have the Python API installed (from terminal):
earthengine -h
[ ] You can find the credentials file on your system:
> ee_path <- path.expand("~/.config/earthengine/credentials") > file.exists(ee_path) [1] TRUE
[ ] You can run a simple EE command from R:
library(rgee) # Initialize the Earth Engine module. ee_Initialize() # Print metadata for a DEM dataset. print(ee$Image('USGS/SRTMGL1_003')$getInfo())
Attach your Python (reticulate) configuration:
library(reticulate) > py_config() python: /home/alobo/.virtualenvs/rgee/bin/python libpython: /usr/lib/python3.9/config-3.9-x86_64-linux-gnu/libpython3.9.so pythonhome: /home/alobo/.virtualenvs/rgee:/home/alobo/.virtualenvs/rgee version: 3.9.5 (default, Nov 18 2021, 16:00:48) [GCC 10.3.0] numpy: /home/alobo/.virtualenvs/rgee/lib/python3.9/site-packages/numpy numpy_version: 1.22.3 ee: /home/alobo/.virtualenvs/rgee/lib/python3.9/site-packages/ee python versions found: /usr/bin/python3 /home/alobo/miniconda3/bin/python /home/alobo/.virtualenvs/rgee/bin/python /home/alobo/miniconda3/envs/qgis_stable/bin/python
Maximum zoom at which the image is displayed is 18. Increasing zoom makes the image disappear from the display. I expected being able to go up to 24. This is important for displaying my own images uploaded as asset.
image <- ee$Image("LANDSAT/LC08/C01/T1/LC08_044034_20140318") Map$centerObject(image, 24) m4 <- Map$addLayer( eeObject = image, visParams = list( bands = c("B4", "B3", "B2"), max = 10000 ), name = "SF" ) m4
Hi @aloboa thanks, we fixed the issue. Please let us know if the problem persists!
remotes::install_github("r-spatial/rgee")
Works great, thanks!
At submit an issue, please attached the following information of your
rgee
session:[ ] You have the Python API installed (from terminal):
[ ] You can find the credentials file on your system:
[ ] You can run a simple EE command from R:
Attach your Python (reticulate) configuration:
Description
Maximum zoom at which the image is displayed is 18. Increasing zoom makes the image disappear from the display. I expected being able to go up to 24. This is important for displaying my own images uploaded as asset.
What I Did