Learn R Programming

sits (version 1.5.3)

sits_roi_to_mgrs: Given a ROI, find MGRS tiles intersecting it.

Description

Takes a a ROI and produces a list of MGRS tiles intersecting it

Usage

sits_roi_to_mgrs(roi)

Value

tiles Character vector with names of MGRS tiles

Arguments

roi

Valid ROI to use in other SITS functions

Author

Felipe Carvalho, felipe.carvalho@inpe.br

Felipe Carlos, efelipecarlos@gmail.com

Examples

Run this code
if (sits_run_examples()) {
# Defining a ROI
roi <- c(
  lon_min = -64.037,
  lat_min = -9.644,
  lon_max = -63.886,
  lat_max = -9.389
)
# Finding tiles
tiles <- sits_roi_to_mgrs(roi)
}

Run the code above in your browser using DataLab