Closed Sebastianmarzini closed 3 years ago
Something like this should work.
roi <- st_read("C:/Users/seba_/OneDrive/StudioFenologia_Dati/GIS/Toscana/Repliche_Toscana.shp", quiet = TRUE)
ee_roi <- roi %>% sf_as_ee()
fS1 <- ee$ImageCollection("COPERNICUS/S1_GRD")$
filter(ee$Filter$listContains('transmitterReceiverPolarisation', 'VH'))$
filter(ee$Filter$eq('instrumentMode', 'IW'))$
filterDate("2015-01-01","2020-12-31")$
#filterBounds(ee$features)
filterBounds(ee_roi$geometry())
Thank you a lot! It works now!!
At submit an issue, please attached the following information of your
rgee
session:[ yes] You have the Python API installed (from terminal):
[ No but it is there] You can find the credentials file on your system:
[Yes ] You can run a simple EE command from R:
Attach your Python (reticulate) configuration:
Description
I'm new in using R and GEE and I have an issue that I think is very simple to resolve but I can't get it. I'm trying to filter a S1 ImageCollection using a shp that contains different polygons (more or less 60) In the shp, each row represent a different polygon and in the geometry column, the cell contains a list of vector of coordinates: list(c(11.3994273650556, 11.3997751322478, 11.398.... On GEE I don't get problem with these shapefiles.
What I Did
When I run the script it gives me an error related to the geometry (I think)