ROI: Creates a ee.geometry object from a string of coordinate...

View source: R/ROI.R

ROIR Documentation

Creates a ee.geometry object from a string of coordinate points copied from gee

Description

Due to no map interface in the rgee version of gee, this function makes the importation of coordinate points easy. I have found that when exploring data in different regions, that having an open window of gee which allows for the easy creation of geometry objects and copying the coordinates into thos function

Usage

ROI(
 
    stri = "[117.83526716151925, 15.49233818000526],\n          [117.83526716151925, 6.486174330165204],\n          [129.74444684901925, 6.486174330165204],\n          [129.74444684901925, 15.49233818000526]"
)

Arguments

stri

a string of coordinate points copy and pasted from the gee gui

Examples

ROI = ROI("[-91.157, 28.628], [-91.157, 20.977], [-80.433, 20.977], [-80.434, 28.628]")


JaceInnis/RGEEtools documentation built on July 12, 2022, 7:08 a.m.