Learn R Programming

sits (version 1.1.0)

sits_bbox: Get the bounding box of the data

Description

Obtain a vector of limits (either on lat/long for time series or in projection coordinates in the case of cubes)

Usage

sits_bbox(data, wgs84 = FALSE, ...)

# S3 method for sits sits_bbox(data, ...)

# S3 method for sits_cube sits_bbox(data, wgs84 = FALSE, ...)

Value

Bounding box in WGS84 for time series or on the cube projection for a data cube unless wgs84 parameter is TRUE.

Arguments

data

Valid sits tibble (time series or a cube).

wgs84

Reproject bbox to WGS84 (EPSG:4326)?

...

Additional parameters (not implemented).

Author

Gilberto Camara, gilberto.camara@inpe.br

Rolf Simoes, rolf.simoes@inpe.br

Examples

Run this code
bbox <- sits_bbox(samples_modis_4bands)

Run the code above in your browser using DataLab