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).
Examples
Run this codebbox <- sits_bbox(samples_modis_4bands)
Run the code above in your browser using DataLab