R: Get bbox and intersects parameters

.sits_stac_roi {sits} | R Documentation

## Get bbox and intersects parameters

### Description

Get bbox and intersects parameters

### Usage

    .sits_stac_roi(roi)

### Arguments

`roi` | the "roi" parameter defines a region of interest. It can be an `sfc` or `sf` object from sf package, a `character` with GeoJSON following the rules from RFC 7946, or a `vector` bounding box `vector` with named XY values ("xmin", "xmax", "ymin", "ymax").

### Value

A named `list` with the values of the intersection and bbox parameters. If bbox is supplied, the intersection parameter gets NULL, otherwise bbox gets NULL if intersects is specified.

[Package sits version 0.12.0 Index]