Learn R Programming

sits (version 1.4.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, ..., as_crs = NULL)

# S3 method for sits sits_bbox(data, ..., crs = "EPSG:4326", as_crs = NULL)

# S3 method for raster_cube sits_bbox(data, ..., as_crs = NULL)

Value

A bbox.

Arguments

data

samples data or cube.

...

Additional parameters.

as_crs

CRS to project the resulting bbox.

crs

CRS of the samples points.

Author

Gilberto Camara, gilberto.camara@inpe.br

Rolf Simoes, rolf.simoes@inpe.br

Examples

Run this code
if (sits_run_examples()) {
sits_bbox(samples_modis_ndvi)
}

Run the code above in your browser using DataLab