Learn R Programming

sits (version 0.13.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, ...)

Arguments

data

Valid sits tibble (time series or a cube).

wgs84

Take effect only for data cubes. Reproject bbox to WGS84 (EPSG:4326).

...

Additional parameters (not implemented).

Value

named vector with bounding box in WGS84 for time series and on the cube projection for a data cube unless wgs84 parameter is TRUE.