ee_draw_geometry: Draw object on Earth Engine

View source: R/ee_draw_geometry.R

ee_draw_geometryR Documentation

Draw object on Earth Engine

Description

Function to draw an Earth Engine object interactively from R

Usage

ee_draw_geometry(
  name,
  import_as = "A",
  properties = NULL,
  color = "red",
  zoom = 5,
  ...
)

Arguments

name

name of new object on R.

import_as

type of Earth Engine object.

properties

is a list with properties of EE object.

color

is a color of geometry (hexadecimal).

zoom

is the zoom of the visualization in the display.

...

optional arguments for Map object.

Details

import_as

  • "A": An Earth Engine object of type Geometry.

  • "B": An Earth Engine object of type Feature.

  • "C": An Earth Engine object of type Feature collection.

Value

An Earth Engine object, depends of the import_as, if is of type:

  • "A": return a geometry.

  • "B": return a feature.

  • "C": return a feature collection.


ambarja/rgeeInspector documentation built on March 27, 2022, 4:25 p.m.