Print and return metadata about Spatial Earth Engine Objects
Print and return metadata about Spatial Earth Engine Objects.
ee_print
can retrieve information about the number of images
or features, number of bands or geometries, number of pixels, geotransform,
data type, properties, and object size.
ee_print(eeobject, ...) ## S3 method for class 'ee.geometry.Geometry' ee_print(eeobject, ..., clean = FALSE, quiet = FALSE) ## S3 method for class 'ee.feature.Feature' ee_print(eeobject, ..., clean = FALSE, quiet = FALSE) ## S3 method for class 'ee.featurecollection.FeatureCollection' ee_print(eeobject, ..., f_index = 0, clean = FALSE, quiet = FALSE) ## S3 method for class 'ee.image.Image' ee_print( eeobject, ..., img_band, time_end = TRUE, compression_ratio = 20, clean = FALSE, quiet = FALSE ) ## S3 method for class 'ee.imagecollection.ImageCollection' ee_print( eeobject, ..., time_end = TRUE, img_index = 0, img_band, compression_ratio = 20, clean = FALSE, quiet = FALSE )
eeobject |
Earth Engine Object. Available for: Geometry, Feature, FeatureCollection, Image or ImageCollection. |
... |
ignored |
clean |
Logical. If TRUE, the cache will be cleaned. |
quiet |
Logical. Suppress info message |
f_index |
Numeric. Index of the |
img_band |
Character. Band name of the |
time_end |
Logical. If TRUE, the system:time_end property in ee$Image
is also returned. See |
compression_ratio |
Numeric. Measurement of the relative data size
reduction produced by a data compression algorithm (ignored if |
img_index |
Numeric. Index of the |
A list with the metadata of the Earth Engine object.
Other helper functions:
ee_help()
,
ee_monitoring()
## Not run: library(rgee) ee_Initialize() # Geometry geom <- ee$Geometry$Rectangle(-10,-10,10,10) Map$addLayer(geom) ee_print(geom) # Feature feature <- ee$Feature(geom, list(rgee = "ee_print", data = TRUE)) ee_print(feature) # FeatureCollection featurecollection <- ee$FeatureCollection(feature) ee_print(featurecollection) # Image srtm <- ee$Image("CGIAR/SRTM90_V4") ee_print(srtm) srtm_clip <- ee$Image("CGIAR/SRTM90_V4")$clip(geom) srtm_metadata <- ee_print(srtm_clip) srtm_metadata$img_bands_names # ImageCollection object <- ee$ImageCollection("LANDSAT/LC08/C01/T1_TOA")$ filter(ee$Filter()$eq("WRS_PATH", 44))$ filter(ee$Filter()$eq("WRS_ROW", 34))$ filterDate("2014-03-01", "2014-08-01")$ aside(ee_print) ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.