Learn R Programming

rgee (version 0.1.0)

ee_print: Print and return metadata about Spatial Earth Engine Objects

Description

Print and return metadata about Spatial Earth Engine Objects

Usage

ee_print(eeobject, clean = FALSE, max_display = 0)

# S3 method for ee.geometry.Geometry ee_print(eeobject, clean = FALSE, max_display = 0)

# S3 method for ee.feature.Feature ee_print(eeobject, clean = FALSE, max_display = 0)

# S3 method for ee.featurecollection.FeatureCollection ee_print(eeobject, clean = FALSE, max_display = 0)

# S3 method for ee.image.Image ee_print(eeobject, clean = FALSE, max_display = 0)

# S3 method for ee.imagecollection.ImageCollection ee_print(eeobject, clean = FALSE, max_display = 0)

Arguments

eeobject

Earth Engine Object. Available for: Geometry, Feature, FeatureCollection, Image or ImageCollection.

clean

Logical; Whether is TRUE cache will cleaned, see Description.

max_display

Set the max number of properties to display.

Details

For avoiding computing time extremely large and "EEException" related with memory consuming (See this Earth Engine Guide) just the first element of: ee$Image, ee$ImageCollection, ee$Feature and ee$FeatureCollection will be used to generated Earth Engine object properties. By default ee_print create a list with all the print parameters. It is due to avoid repeated queries to the Earth Engine Server.

Examples

Run this code
# NOT RUN {
library(rgee)

ee_reattach() # reattach ee as a reserve word
ee_Initialize()

eeobject <- 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")
ee_print(eeobject, max_display = 118)
# }

Run the code above in your browser using DataLab