Skip to contents

Images are saved as GeoTIFF (.tif) files containing geospatial data, unless otherwise specified in out_format.

Usage

download_ee(
  object,
  bands = NULL,
  scale = NULL,
  out_path = NULL,
  out_format = NULL,
  overwrite = TRUE
)

Arguments

object

object: a data object produced by collect_ee()

bands

string: a string or list of strings representing the bands to be downloaded

scale

numeric, optional: a number represeting the scale of a pixel in metres. If set to NULL, will use a scale of 100 m. Defaults to NULL

out_path

string, optional: a string representing the path to the output directory. If set to NULL, will use the current working directory and add a "downloads/" folder. Defaults to NULL

out_format

string, optional: Save image as GeoTIFF (.tif), JPEG (.jpg) or PNG (.png). Defaults to .tif

overwrite

logical, optional: overwrite existing file if it already exists. Defaults to NULL

Examples

NULL
#> NULL